語言

X509CertificateValidationElement.TrustedStoreLocation 屬性

定義

取得或設定 X.509 憑證的可信儲存位置。

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

屬性值

X.509 憑證的商店位置。 預設值為 LocalMachine。

屬性

備註

這個屬性為選擇性。 它代表 trustedSToreLocation 元素 <certificateValidation> 的屬性。

適用於