AuthenticationStateProvider.NotifyAuthenticationStateChanged 方法

定义

引发 AuthenticationStateChanged 事件。

protected:
 void NotifyAuthenticationStateChanged(System::Threading::Tasks::Task<Microsoft::AspNetCore::Components::Authorization::AuthenticationState ^> ^ task);
protected void NotifyAuthenticationStateChanged (System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> task);
member this.NotifyAuthenticationStateChanged : System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> -> unit
Protected Sub NotifyAuthenticationStateChanged (task As Task(Of AuthenticationState))

参数

task
Task<AuthenticationState>

一个 Task ,它提供更新 AuthenticationState的 。

适用于