Condividi tramite


AuthenticationStateSerializationOptions.SerializationCallback Proprietà

Definizione

Implementazione predefinita per la conversione del AuthenticationState del server in un oggetto AuthenticationStateData per la serializzazione JSON nel client 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))

Valore della proprietà

Si applica a