共用方式為


AuthorizationResult.Failed 方法

定義

多載

Failed()

建立失敗的授權結果。

Failed(AuthorizationFailure)

建立失敗的授權結果。

Failed()

來源:
AuthorizationResult.cs
來源:
AuthorizationResult.cs
來源:
AuthorizationResult.cs
來源:
AuthorizationResult.cs
來源:
AuthorizationResult.cs
來源:
AuthorizationResult.cs
來源:
AuthorizationResult.cs
來源:
AuthorizationResult.cs
來源:
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)

來源:
AuthorizationResult.cs
來源:
AuthorizationResult.cs
來源:
AuthorizationResult.cs
來源:
AuthorizationResult.cs
來源:
AuthorizationResult.cs
來源:
AuthorizationResult.cs
來源:
AuthorizationResult.cs
來源:
AuthorizationResult.cs
來源:
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

適用於