ResultContext<TOptions>.Fail 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
| 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 -> unitPublic 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 -> unitPublic Sub Fail (failureMessage As String)Parameters
- failureMessage
- String