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