Поделиться через


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объект .

Применяется к