Dela via


AuthorizationFailure.ExplicitFail Method

Definition

Return a failure due to Fail() being called.

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

Returns

The failure.

Applies to