共用方式為


ReliableStateManagerConfiguration.OnInitializeStateSerializersEvent Property

Definition

Gets the delegate which will be called when custom serializers can be added.
When called, specify custom serializers via TryAddStateSerializer<T>(IStateSerializer<T>)

public Func<System.Threading.Tasks.Task> OnInitializeStateSerializersEvent { get; }
member this.OnInitializeStateSerializersEvent : Func<System.Threading.Tasks.Task>
Public ReadOnly Property OnInitializeStateSerializersEvent As Func(Of Task)

Property Value

Task that represents the asynchronous operation.

Applies to