AuthorizationResult.Failed 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
返回
适用于
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
包含有关授权失败原因的信息。