StatefulServiceProperties(String, ManagedServicePartitionScheme) Constructor

Definition

Initializes a new instance of StatefulServiceProperties.

public StatefulServiceProperties (string serviceTypeName, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServicePartitionScheme partitionDescription);
new Azure.ResourceManager.ServiceFabricManagedClusters.Models.StatefulServiceProperties : string * Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServicePartitionScheme -> Azure.ResourceManager.ServiceFabricManagedClusters.Models.StatefulServiceProperties
Public Sub New (serviceTypeName As String, partitionDescription As ManagedServicePartitionScheme)

Parameters

serviceTypeName
String

The name of the service type.

partitionDescription
ManagedServicePartitionScheme

Describes how the service is partitioned. Please note ManagedServicePartitionScheme is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include NamedPartitionScheme, SingletonPartitionScheme and UniformInt64RangePartitionScheme.

Exceptions

serviceTypeName or partitionDescription is null.

Applies to