Share via


ResultContext<TOptions>.Fail Method

Definition

Overloads

Fail(Exception)

Indicates that there was a failure during authentication.

Fail(String)

Indicates that there was a failure during authentication.

Fail(Exception)

Source:
ResultContext.cs
Source:
ResultContext.cs
Source:
ResultContext.cs

Indicates that there was a failure during authentication.

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

Parameters

failure
Exception

Applies to

Fail(String)

Source:
ResultContext.cs
Source:
ResultContext.cs
Source:
ResultContext.cs

Indicates that there was a failure during authentication.

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

Applies to