共用方式為


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 = default);
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) = Nothing)

Parameters

replicatorSettings
ReliableStateManagerReplicatorSettings

Replicator settings used to initialize the ReliableStateManager.

onInitializeStateSerializersEvent
Func<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 = default);
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) = Nothing)

Parameters

configPackageName
String

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

replicatorSecuritySectionName
String

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

replicatorSettingsSectionName
String

Optional config section name from which to load replicator settings.

onInitializeStateSerializersEvent
Func<Task>

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

Applies to