共用方式為


X509ClientCertificateAuthenticationElement.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.LocalMachine)]
public System.Security.Cryptography.X509Certificates.StoreLocation TrustedStoreLocation { get; set; }
[<System.Configuration.ConfigurationProperty("trustedStoreLocation", DefaultValue=System.Security.Cryptography.X509Certificates.StoreLocation.LocalMachine)>]
member this.TrustedStoreLocation : System.Security.Cryptography.X509Certificates.StoreLocation with get, set
Public Property TrustedStoreLocation As StoreLocation

屬性值

受信任的存放區位置。

屬性

備註

Windows Communication Foundation (WCF) 安全性系統會針對 StoreLocation 驗證用戶端憑證。 存放區位置是使用這個屬性所指定。

適用於