Редагувати

Поділитися через


AudienceUriModeValidationHelper.IsDefined(AudienceUriMode) Method

Definition

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

public:
 static bool IsDefined(System::IdentityModel::Selectors::AudienceUriMode validationMode);
public static bool IsDefined (System.IdentityModel.Selectors.AudienceUriMode validationMode);
static member IsDefined : System.IdentityModel.Selectors.AudienceUriMode -> bool
Public Shared Function IsDefined (validationMode As AudienceUriMode) As Boolean

Parameters

validationMode
AudienceUriMode

The AudienceUriMode to verify its validity.

Returns

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

Applies to