Share via


HandleRequestResult.Fail Methode

Definition

Überlädt

Fail(Exception)

Gibt an, dass während der Authentifizierung ein Fehler aufgetreten ist.

Fail(String)

Gibt an, dass während der Authentifizierung ein Fehler aufgetreten ist.

Fail(Exception, AuthenticationProperties)

Gibt an, dass während der Authentifizierung ein Fehler aufgetreten ist.

Fail(String, AuthenticationProperties)

Gibt an, dass während der Authentifizierung ein Fehler aufgetreten ist.

Fail(Exception)

Quelle:
HandleRequestResult.cs
Quelle:
HandleRequestResult.cs

Gibt an, dass während der Authentifizierung ein Fehler aufgetreten ist.

public:
 static Microsoft::AspNetCore::Authentication::HandleRequestResult ^ Fail(Exception ^ failure);
public static Microsoft.AspNetCore.Authentication.HandleRequestResult Fail (Exception failure);
static member Fail : Exception -> Microsoft.AspNetCore.Authentication.HandleRequestResult
Public Shared Function Fail (failure As Exception) As HandleRequestResult

Parameter

failure
Exception

Die Fehler-Ausnahme.

Gibt zurück

Das Ergebnis.

Gilt für:

Fail(String)

Quelle:
HandleRequestResult.cs
Quelle:
HandleRequestResult.cs

Gibt an, dass während der Authentifizierung ein Fehler aufgetreten ist.

public:
 static Microsoft::AspNetCore::Authentication::HandleRequestResult ^ Fail(System::String ^ failureMessage);
public static Microsoft.AspNetCore.Authentication.HandleRequestResult Fail (string failureMessage);
static member Fail : string -> Microsoft.AspNetCore.Authentication.HandleRequestResult
Public Shared Function Fail (failureMessage As String) As HandleRequestResult

Parameter

failureMessage
String

Die Fehlermeldung.

Gibt zurück

Das Ergebnis.

Gilt für:

Fail(Exception, AuthenticationProperties)

Quelle:
HandleRequestResult.cs
Quelle:
HandleRequestResult.cs

Gibt an, dass während der Authentifizierung ein Fehler aufgetreten ist.

public:
 static Microsoft::AspNetCore::Authentication::HandleRequestResult ^ Fail(Exception ^ failure, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public static Microsoft.AspNetCore.Authentication.HandleRequestResult Fail (Exception failure, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public static Microsoft.AspNetCore.Authentication.HandleRequestResult Fail (Exception failure, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
static member Fail : Exception * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Authentication.HandleRequestResult
Public Shared Function Fail (failure As Exception, properties As AuthenticationProperties) As HandleRequestResult

Parameter

failure
Exception

Die Fehler-Ausnahme.

properties
AuthenticationProperties

Zusätzliche Statusswerte für die Authentifizierungssitzung.

Gibt zurück

Das Ergebnis.

Gilt für:

Fail(String, AuthenticationProperties)

Quelle:
HandleRequestResult.cs
Quelle:
HandleRequestResult.cs

Gibt an, dass während der Authentifizierung ein Fehler aufgetreten ist.

public:
 static Microsoft::AspNetCore::Authentication::HandleRequestResult ^ Fail(System::String ^ failureMessage, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public static Microsoft.AspNetCore.Authentication.HandleRequestResult Fail (string failureMessage, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public static Microsoft.AspNetCore.Authentication.HandleRequestResult Fail (string failureMessage, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
static member Fail : string * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Authentication.HandleRequestResult
Public Shared Function Fail (failureMessage As String, properties As AuthenticationProperties) As HandleRequestResult

Parameter

failureMessage
String

Die Fehlermeldung.

properties
AuthenticationProperties

Zusätzliche Statusswerte für die Authentifizierungssitzung.

Gibt zurück

Das Ergebnis.

Gilt für: