Share via


RemoteAuthenticationContext<TOptions>.Fail Method

Definition

Overloads

Fail(Exception)

Indicates that authentication failed.

Fail(String)

Indicates that authentication failed.

Fail(Exception)

Source:
RemoteAuthenticationContext.cs
Source:
RemoteAuthenticationContext.cs
Source:
RemoteAuthenticationContext.cs

Indicates that authentication failed.

public:
 void Fail(Exception ^ failure);
public void Fail (Exception failure);
member this.Fail : Exception -> unit
Public Sub Fail (failure As Exception)

Parameters

failure
Exception

The exception associated with the failure.

Applies to

Fail(String)

Source:
RemoteAuthenticationContext.cs
Source:
RemoteAuthenticationContext.cs
Source:
RemoteAuthenticationContext.cs

Indicates that authentication failed.

public:
 void Fail(System::String ^ failureMessage);
public void Fail (string failureMessage);
member this.Fail : string -> unit
Public Sub Fail (failureMessage As String)

Parameters

failureMessage
String

The exception associated with the failure.

Applies to