Partager via


Propriété X509CertificateValidationElement.TrustedStoreLocation

The trusted store location.

Espace de noms: Microsoft.IdentityModel.Configuration
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)

Utilisation

    Dim instance As X509CertificateValidationElement
Dim value As StoreLocation

value = instance.TrustedStoreLocation

instance.TrustedStoreLocation = value

Syntaxe

'Déclaration
<ConfigurationPropertyAttribute("trustedStoreLocation", IsRequired:=False, DefaultValue:=StoreLocation.LocalMachine)> _
<TypeConverterAttribute(GetType(StoreLocationConverter))> _
Public Property TrustedStoreLocation As StoreLocation
[ConfigurationPropertyAttribute("trustedStoreLocation", IsRequired=false, DefaultValue=StoreLocation.LocalMachine)] 
[TypeConverterAttribute(typeof(StoreLocationConverter))] 
public StoreLocation TrustedStoreLocation { get; set; }
[ConfigurationPropertyAttribute(L"trustedStoreLocation", IsRequired=false, DefaultValue=StoreLocation::LocalMachine)] 
[TypeConverterAttribute(typeof(StoreLocationConverter))] 
public:
property StoreLocation TrustedStoreLocation {
    StoreLocation get ();
    void set (StoreLocation value);
}
/** @property */
public StoreLocation get_TrustedStoreLocation ()

/** @property */
public void set_TrustedStoreLocation (StoreLocation value)
public function get TrustedStoreLocation () : StoreLocation

public function set TrustedStoreLocation (value : StoreLocation)

Exceptions

Type d'exception Condition

Remarques

The default value is LocalMachine.

Cohérence de thread

Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.

Plateformes

Plateformes de développement

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

Voir aussi

Référence

Classe X509CertificateValidationElement
Membres X509CertificateValidationElement
Espace de noms Microsoft.IdentityModel.Configuration