Compartir a través de


AuthenticationStateSerializationOptions.SerializationCallback Propiedad

Definición

Implementación predeterminada para convertir el AuthenticationState del servidor en un objeto AuthenticationStateData para la serialización JSON al cliente mediante 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 de propiedad

Se aplica a