AudienceUriElementCollection.Mode Property

.NET Framework (current version)

Gets or sets the audience restriction mode.

Namespace:   System.IdentityModel.Configuration
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

[ConfigurationPropertyAttribute("mode", IsRequired = false, DefaultValue = AudienceUriMode.Always)]
public AudienceUriMode Mode { get; set; }

Property Value

Type: System.IdentityModel.Selectors.AudienceUriMode

The audience restriction mode. The default is Always.

Corresponds to the mode attribute of the <audienceUris> element.

.NET Framework
Available since 4.5
Return to top