AuthorizationResult.Failed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Failed() |
Creates a failed authorization result. |
Failed(AuthorizationFailure) |
Creates a failed authorization result. |
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
Creates a failed authorization result.
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
Returns
The AuthorizationResult.
Applies to
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
Creates a failed authorization result.
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
Parameters
- failure
- AuthorizationFailure
Contains information about why authorization failed.
Returns
The AuthorizationResult.