ServerAuthenticationStateProvider.SetAuthenticationState 方法      
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
向 提供更新的 AuthenticationStateProvider身份验证状态数据。
public:
 virtual void SetAuthenticationState(System::Threading::Tasks::Task<Microsoft::AspNetCore::Components::Authorization::AuthenticationState ^> ^ authenticationStateTask);public void SetAuthenticationState(System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> authenticationStateTask);abstract member SetAuthenticationState : System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> -> unit
override this.SetAuthenticationState : System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> -> unitPublic Sub SetAuthenticationState (authenticationStateTask As Task(Of AuthenticationState))参数
- authenticationStateTask
- Task<AuthenticationState>
使用更新 AuthenticationState的 解析的任务。