Audience restriction mode. The default value is Always.
Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As AudienceUriElementCollection
Dim value As AudienceUriMode

value = instance.Mode

instance.Mode = value

Syntax

Visual Basic
<TypeConverterAttribute(GetType(AudienceUriModeConverter))> _
<ConfigurationPropertyAttribute("mode", IsRequired:=False, DefaultValue:=)> _
Public Property Mode As AudienceUriMode
C#
[TypeConverterAttribute(typeof(AudienceUriModeConverter))] 
[ConfigurationPropertyAttribute("mode", IsRequired=false, DefaultValue=)] 
public AudienceUriMode Mode { get; set; }
C++
[TypeConverterAttribute(typeof(AudienceUriModeConverter))] 
[ConfigurationPropertyAttribute(L"mode", IsRequired=false, DefaultValue=)] 
public:
property AudienceUriMode Mode {
		AudienceUriMode get ();
		void set (AudienceUriMode value);
}
J#
/** @property */
public AudienceUriMode get_Mode ()

/** @property */
public void set_Mode (AudienceUriMode value)
JScript
public function get Mode () : AudienceUriMode

public function set Mode (value : AudienceUriMode)

Exceptions

Exception type Condition

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