AuthorizationResult.Failure 属性

定义

包含有关授权失败的原因的信息。

public:
 property Microsoft::AspNetCore::Authorization::AuthorizationFailure ^ Failure { Microsoft::AspNetCore::Authorization::AuthorizationFailure ^ get(); };
public Microsoft.AspNetCore.Authorization.AuthorizationFailure Failure { get; }
public Microsoft.AspNetCore.Authorization.AuthorizationFailure? Failure { get; }
member this.Failure : Microsoft.AspNetCore.Authorization.AuthorizationFailure
Public ReadOnly Property Failure As AuthorizationFailure

属性值

适用于