ReliableStateManagerConfiguration Constructors

Definition

Overloads

ReliableStateManagerConfiguration(ReliableStateManagerReplicatorSettings, Func<Task>)

Create a new ReliableStateManagerConfiguration.

ReliableStateManagerConfiguration(String, String, String, Func<Task>)

Create a new ReliableStateManagerConfiguration.

ReliableStateManagerConfiguration(ReliableStateManagerReplicatorSettings, Func<Task>)

Create a new ReliableStateManagerConfiguration.

public ReliableStateManagerConfiguration (Microsoft.ServiceFabric.Data.ReliableStateManagerReplicatorSettings replicatorSettings, Func<System.Threading.Tasks.Task> onInitializeStateSerializersEvent = null);
new Microsoft.ServiceFabric.Data.ReliableStateManagerConfiguration : Microsoft.ServiceFabric.Data.ReliableStateManagerReplicatorSettings * Func<System.Threading.Tasks.Task> -> Microsoft.ServiceFabric.Data.ReliableStateManagerConfiguration
Public Sub New (replicatorSettings As ReliableStateManagerReplicatorSettings, Optional onInitializeStateSerializersEvent As Func(Of Task) = null)

Parameters

replicatorSettings
ReliableStateManagerReplicatorSettings

Replicator settings used to initialize the ReliableStateManager.

onInitializeStateSerializersEvent
System.Func<System.Threading.Tasks.Task>

Optional callback which will fire when custom serializers should be added. Used to set the OnInitializeStateSerializersEvent property.

Applies to

ReliableStateManagerConfiguration(String, String, String, Func<Task>)

Create a new ReliableStateManagerConfiguration.

public ReliableStateManagerConfiguration (string configPackageName = "Config", string replicatorSecuritySectionName = "ReplicatorSecurityConfig", string replicatorSettingsSectionName = "ReplicatorConfig", Func<System.Threading.Tasks.Task> onInitializeStateSerializersEvent = null);
new Microsoft.ServiceFabric.Data.ReliableStateManagerConfiguration : string * string * string * Func<System.Threading.Tasks.Task> -> Microsoft.ServiceFabric.Data.ReliableStateManagerConfiguration
Public Sub New (Optional configPackageName As String = "Config", Optional replicatorSecuritySectionName As String = "ReplicatorSecurityConfig", Optional replicatorSettingsSectionName As String = "ReplicatorConfig", Optional onInitializeStateSerializersEvent As Func(Of Task) = null)

Parameters

configPackageName
System.String

Optional config package name from which to load replicator security/settings.

replicatorSecuritySectionName
System.String

Optional config section name from which to load replicator security settings.

replicatorSettingsSectionName
System.String

Optional config section name from which to load replicator settings.

onInitializeStateSerializersEvent
System.Func<System.Threading.Tasks.Task>

Optional callback which will fire when custom serializers should be added. Used to set the OnInitializeStateSerializersEvent property.

Applies to