ServerAuthenticationStateProvider.GetAuthenticationStateAsync 方法       
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
异步获取 AuthenticationState 描述当前用户的 。
public:
 override System::Threading::Tasks::Task<Microsoft::AspNetCore::Components::Authorization::AuthenticationState ^> ^ GetAuthenticationStateAsync();public override System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> GetAuthenticationStateAsync();override this.GetAuthenticationStateAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>Public Overrides Function GetAuthenticationStateAsync () As Task(Of AuthenticationState)返回
一个任务,在解析后,会提供一个 AuthenticationState 描述当前用户的实例。