AudienceUriModeValidationHelper.IsDefined Method (AudienceUriMode)

 

Gets a value that indicates whether the value of the specified AudienceUriMode is valid.

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

public static bool IsDefined(
	AudienceUriMode validationMode
)

Parameters

validationMode
Type: System.IdentityModel.Selectors.AudienceUriMode

The AudienceUriMode to verify its validity.

Return Value

Type: System.Boolean

true when the validationMode is Always, BearerKeyOnly, or Never; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: