RemoteAuthenticationContext<TOptions>.Fail 方法

定义

重载

Fail(Exception)

指示身份验证失败。

Fail(String)

指示身份验证失败。

Fail(Exception)

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

指示身份验证失败。

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

参数

failure
Exception

与失败关联的异常。

适用于

Fail(String)

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

指示身份验证失败。

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

参数

failureMessage
String

与失败关联的异常。

适用于