The trusted store location.
Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As X509CertificateValidationElement
Dim value As StoreLocation

value = instance.TrustedStoreLocation

instance.TrustedStoreLocation = value

Syntax

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

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

public function set TrustedStoreLocation (value : StoreLocation)

Exceptions

Exception type Condition

Remarks

The default value is LocalMachine.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also