AuthorizationFailure.ExplicitFail 方法

定义

返回由于被调用而导致的 Fail() 失败。

public:
 static Microsoft::AspNetCore::Authorization::AuthorizationFailure ^ ExplicitFail();
public static Microsoft.AspNetCore.Authorization.AuthorizationFailure ExplicitFail ();
static member ExplicitFail : unit -> Microsoft.AspNetCore.Authorization.AuthorizationFailure
Public Shared Function ExplicitFail () As AuthorizationFailure

返回

失败。

适用于