KeyValueStoreReplica 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
KeyValueStoreReplica(String) |
Initializes a new instance of the KeyValueStoreReplica class with the specified key/value store name. |
KeyValueStoreReplica(String, LocalStoreSettings) |
Initializes a new instance of the KeyValueStoreReplica class with the specified key/value store name and local store settings. |
KeyValueStoreReplica(String, ReplicatorSettings) |
Initializes a new instance of the KeyValueStoreReplica class with the specified key/value store name and store replicator settings. |
KeyValueStoreReplica(String, LocalStoreSettings, ReplicatorSettings) |
Initializes a new instance of the KeyValueStoreReplica class with the specified key/value store name, local store settings, and replicator settings. |
KeyValueStoreReplica(String, LocalStoreSettings, ReplicatorSettings, KeyValueStoreReplica+SecondaryNotificationMode) |
Initializes a new instance of the KeyValueStoreReplica class with the specified key/value store name, local store settings, and replicator settings. Secondary replica notifications are enabled via the notification mode. |
KeyValueStoreReplica(String, LocalStoreSettings, ReplicatorSettings, KeyValueStoreReplicaSettings) |
Initializes a new instance of the KeyValueStoreReplica class with the specified key/value store name, local store settings, replicator settings, and replica settings. |
KeyValueStoreReplica(String)
Initializes a new instance of the KeyValueStoreReplica class with the specified key/value store name.
public KeyValueStoreReplica (string storeName);
new System.Fabric.KeyValueStoreReplica : string -> System.Fabric.KeyValueStoreReplica
Public Sub New (storeName As String)
Parameters
- storeName
- String
The name of the key/value store.
Remarks
The store name should conform to valid filename characters.
Applies to
KeyValueStoreReplica(String, LocalStoreSettings)
Initializes a new instance of the KeyValueStoreReplica class with the specified key/value store name and local store settings.
public KeyValueStoreReplica (string storeName, System.Fabric.LocalStoreSettings localStoreSettings);
new System.Fabric.KeyValueStoreReplica : string * System.Fabric.LocalStoreSettings -> System.Fabric.KeyValueStoreReplica
Public Sub New (storeName As String, localStoreSettings As LocalStoreSettings)
Parameters
- storeName
- String
The name of the key/value store.
- localStoreSettings
- LocalStoreSettings
The optional settings for the local store.
Applies to
KeyValueStoreReplica(String, ReplicatorSettings)
Initializes a new instance of the KeyValueStoreReplica class with the specified key/value store name and store replicator settings.
public KeyValueStoreReplica (string storeName, System.Fabric.ReplicatorSettings replicatorSettings);
new System.Fabric.KeyValueStoreReplica : string * System.Fabric.ReplicatorSettings -> System.Fabric.KeyValueStoreReplica
Public Sub New (storeName As String, replicatorSettings As ReplicatorSettings)
Parameters
- storeName
- String
The name of the key/value store.
- replicatorSettings
- ReplicatorSettings
The option settings for the key/value store replicator.
Remarks
The store name should conform to valid filename characters.
Applies to
KeyValueStoreReplica(String, LocalStoreSettings, ReplicatorSettings)
Initializes a new instance of the KeyValueStoreReplica class with the specified key/value store name, local store settings, and replicator settings.
public KeyValueStoreReplica (string storeName, System.Fabric.LocalStoreSettings localStoreSettings, System.Fabric.ReplicatorSettings replicatorSettings);
new System.Fabric.KeyValueStoreReplica : string * System.Fabric.LocalStoreSettings * System.Fabric.ReplicatorSettings -> System.Fabric.KeyValueStoreReplica
Public Sub New (storeName As String, localStoreSettings As LocalStoreSettings, replicatorSettings As ReplicatorSettings)
Parameters
- storeName
- String
The name of the key/value store.
- localStoreSettings
- LocalStoreSettings
The optional settings for the local store.
- replicatorSettings
- ReplicatorSettings
The option settings for the key/value store replicator.
Applies to
KeyValueStoreReplica(String, LocalStoreSettings, ReplicatorSettings, KeyValueStoreReplica+SecondaryNotificationMode)
Initializes a new instance of the KeyValueStoreReplica class with the specified key/value store name, local store settings, and replicator settings. Secondary replica notifications are enabled via the notification mode.
public KeyValueStoreReplica (string storeName, System.Fabric.LocalStoreSettings localStoreSettings, System.Fabric.ReplicatorSettings replicatorSettings, System.Fabric.KeyValueStoreReplica.SecondaryNotificationMode notificationMode);
new System.Fabric.KeyValueStoreReplica : string * System.Fabric.LocalStoreSettings * System.Fabric.ReplicatorSettings * System.Fabric.KeyValueStoreReplica.SecondaryNotificationMode -> System.Fabric.KeyValueStoreReplica
Public Sub New (storeName As String, localStoreSettings As LocalStoreSettings, replicatorSettings As ReplicatorSettings, notificationMode As KeyValueStoreReplica.SecondaryNotificationMode)
Parameters
- storeName
- String
The name of the key/value store.
- localStoreSettings
- LocalStoreSettings
The optional settings for the local store.
- replicatorSettings
- ReplicatorSettings
The option settings for the key/value store replicator.
- notificationMode
- KeyValueStoreReplica.SecondaryNotificationMode
The secondary notification mode to enable OnCopyComplete(KeyValueStoreEnumerator) and OnReplicationOperation(IEnumerator<KeyValueStoreNotification>) callbacks on this replica.
Applies to
KeyValueStoreReplica(String, LocalStoreSettings, ReplicatorSettings, KeyValueStoreReplicaSettings)
Initializes a new instance of the KeyValueStoreReplica class with the specified key/value store name, local store settings, replicator settings, and replica settings.
public KeyValueStoreReplica (string storeName, System.Fabric.LocalStoreSettings localStoreSettings, System.Fabric.ReplicatorSettings replicatorSettings, System.Fabric.KeyValueStoreReplicaSettings kvsSettings);
new System.Fabric.KeyValueStoreReplica : string * System.Fabric.LocalStoreSettings * System.Fabric.ReplicatorSettings * System.Fabric.KeyValueStoreReplicaSettings -> System.Fabric.KeyValueStoreReplica
Public Sub New (storeName As String, localStoreSettings As LocalStoreSettings, replicatorSettings As ReplicatorSettings, kvsSettings As KeyValueStoreReplicaSettings)
Parameters
- storeName
- String
The name of the key/value store.
- localStoreSettings
- LocalStoreSettings
The optional settings for the local store.
- replicatorSettings
- ReplicatorSettings
The optional settings for the key/value store replicator.
- kvsSettings
- KeyValueStoreReplicaSettings
The optional settings for the key/value store replica.
Applies to
Azure SDK for .NET