共用方式為


X509ServiceCertificateAuthenticationElement.TrustedStoreLocation 屬性

定義

取得或設定要驗證其中服務憑證的受信任存放區位置。

public:
 property System::Security::Cryptography::X509Certificates::StoreLocation TrustedStoreLocation { System::Security::Cryptography::X509Certificates::StoreLocation get(); void set(System::Security::Cryptography::X509Certificates::StoreLocation value); };
[System.Configuration.ConfigurationProperty("trustedStoreLocation", DefaultValue=System.Security.Cryptography.X509Certificates.StoreLocation.CurrentUser)]
public System.Security.Cryptography.X509Certificates.StoreLocation TrustedStoreLocation { get; set; }
[<System.Configuration.ConfigurationProperty("trustedStoreLocation", DefaultValue=System.Security.Cryptography.X509Certificates.StoreLocation.CurrentUser)>]
member this.TrustedStoreLocation : System.Security.Cryptography.X509Certificates.StoreLocation with get, set
Public Property TrustedStoreLocation As StoreLocation

屬性值

受信任存放區位置,在此處驗證服務憑證。

屬性

備註

Windows Communication Foundation (WCF) 安全性系統會根據 StoreLocation 驗證服務憑證。 存放區位置是使用這個屬性所指定。

適用於