RemoteAuthenticationEvents.RemoteFailure 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
RemoteFailure(FailureContext) |
發生遠端失敗時叫用 |
RemoteFailure(RemoteFailureContext) |
發生遠端失敗時叫用。 |
RemoteFailure(FailureContext)
發生遠端失敗時叫用
public:
virtual System::Threading::Tasks::Task ^ RemoteFailure(Microsoft::AspNetCore::Authentication::FailureContext ^ context);
public virtual System.Threading.Tasks.Task RemoteFailure (Microsoft.AspNetCore.Authentication.FailureContext context);
abstract member RemoteFailure : Microsoft.AspNetCore.Authentication.FailureContext -> System.Threading.Tasks.Task
override this.RemoteFailure : Microsoft.AspNetCore.Authentication.FailureContext -> System.Threading.Tasks.Task
Public Overridable Function RemoteFailure (context As FailureContext) As Task
參數
- context
- FailureContext
傳回
實作
適用於
RemoteFailure(RemoteFailureContext)
發生遠端失敗時叫用。
public:
virtual System::Threading::Tasks::Task ^ RemoteFailure(Microsoft::AspNetCore::Authentication::RemoteFailureContext ^ context);
public virtual System.Threading.Tasks.Task RemoteFailure (Microsoft.AspNetCore.Authentication.RemoteFailureContext context);
abstract member RemoteFailure : Microsoft.AspNetCore.Authentication.RemoteFailureContext -> System.Threading.Tasks.Task
override this.RemoteFailure : Microsoft.AspNetCore.Authentication.RemoteFailureContext -> System.Threading.Tasks.Task
Public Overridable Function RemoteFailure (context As RemoteFailureContext) As Task
參數
- context
- RemoteFailureContext