AuthorizationResult.Failed 方法

定义

重载

Failed()

创建失败的授权结果。

Failed(AuthorizationFailure)

创建失败的授权结果。

Failed()

Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs

创建失败的授权结果。

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

返回

AuthorizationResult

适用于

Failed(AuthorizationFailure)

Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs

创建失败的授权结果。

public:
 static Microsoft::AspNetCore::Authorization::AuthorizationResult ^ Failed(Microsoft::AspNetCore::Authorization::AuthorizationFailure ^ failure);
public static Microsoft.AspNetCore.Authorization.AuthorizationResult Failed (Microsoft.AspNetCore.Authorization.AuthorizationFailure failure);
static member Failed : Microsoft.AspNetCore.Authorization.AuthorizationFailure -> Microsoft.AspNetCore.Authorization.AuthorizationResult
Public Shared Function Failed (failure As AuthorizationFailure) As AuthorizationResult

参数

failure
AuthorizationFailure

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

返回

AuthorizationResult

适用于