RemoteAuthenticationEvents.OnRemoteFailure 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在发生远程故障时调用。
public:
property Func<Microsoft::AspNetCore::Authentication::FailureContext ^, System::Threading::Tasks::Task ^> ^ OnRemoteFailure { Func<Microsoft::AspNetCore::Authentication::FailureContext ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Authentication::FailureContext ^, System::Threading::Tasks::Task ^> ^ value); };
public:
property Func<Microsoft::AspNetCore::Authentication::RemoteFailureContext ^, System::Threading::Tasks::Task ^> ^ OnRemoteFailure { Func<Microsoft::AspNetCore::Authentication::RemoteFailureContext ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Authentication::RemoteFailureContext ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.AspNetCore.Authentication.FailureContext,System.Threading.Tasks.Task> OnRemoteFailure { get; set; }
public Func<Microsoft.AspNetCore.Authentication.RemoteFailureContext,System.Threading.Tasks.Task> OnRemoteFailure { get; set; }
member this.OnRemoteFailure : Func<Microsoft.AspNetCore.Authentication.FailureContext, System.Threading.Tasks.Task> with get, set
member this.OnRemoteFailure : Func<Microsoft.AspNetCore.Authentication.RemoteFailureContext, System.Threading.Tasks.Task> with get, set
Public Property OnRemoteFailure As Func(Of FailureContext, Task)
Public Property OnRemoteFailure As Func(Of RemoteFailureContext, Task)