ReliableStateManagerConfiguration Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.
Optional callback which will fire when custom serializers should be added. Used to set the OnInitializeStateSerializersEvent property.