次の方法で共有


AuthenticationStateSerializationOptions.SerializationCallback プロパティ

定義

PersistentComponentStateを使用して、サーバーの AuthenticationState を JSON シリアル化用の AuthenticationStateData オブジェクトに変換するための既定の実装。/>

public Func<Microsoft.AspNetCore.Components.Authorization.AuthenticationState,System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Components.Authorization.AuthenticationStateData?>> SerializationCallback { get; set; }
member this.SerializationCallback : Func<Microsoft.AspNetCore.Components.Authorization.AuthenticationState, System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Components.Authorization.AuthenticationStateData>> with get, set
Public Property SerializationCallback As Func(Of AuthenticationState, ValueTask(Of AuthenticationStateData))

プロパティ値

適用対象