AudienceUriModeValidationHelper.IsDefined(AudienceUriMode) 方法

定义

获取一个值,指示指定 AudienceUriMode 的值是否有效。

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

参数

validationMode
AudienceUriMode

要验证其有效性的 AudienceUriMode

返回

如果 truevalidationModeAlwaysBearerKeyOnly,则为 Never;否则为 false

适用于