IRemoteAuthenticationEvents.RemoteFailure(FailureContext) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當遠端驗證程式發生錯誤時叫用。
public:
System::Threading::Tasks::Task ^ RemoteFailure(Microsoft::AspNetCore::Authentication::FailureContext ^ context);
public System.Threading.Tasks.Task RemoteFailure (Microsoft.AspNetCore.Authentication.FailureContext context);
abstract member RemoteFailure : Microsoft.AspNetCore.Authentication.FailureContext -> System.Threading.Tasks.Task
Public Function RemoteFailure (context As FailureContext) As Task
參數
- context
- FailureContext