Partilhar via


AuthenticationStateSerializationOptions.SerializationCallback Propriedade

Definição

Implementação padrão para converter o AuthenticationState do servidor em um objeto AuthenticationStateData para serialização JSON para o cliente usando PersistentComponentState." />

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))

Valor da propriedade

Aplica-se a