RemoteAuthenticationContext<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 authentication failed. |
Fail(String) |
Indicates that authentication failed. |
Fail(Exception)
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)
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.