StatelessServiceProperties Constructor
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.
Initializes a new instance of StatelessServiceProperties.
public StatelessServiceProperties (string serviceTypeName, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServicePartitionScheme partitionDescription, int instanceCount);
new Azure.ResourceManager.ServiceFabricManagedClusters.Models.StatelessServiceProperties : string * Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServicePartitionScheme * int -> Azure.ResourceManager.ServiceFabricManagedClusters.Models.StatelessServiceProperties
Public Sub New (serviceTypeName As String, partitionDescription As ManagedServicePartitionScheme, instanceCount As Integer)
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.
- instanceCount
- Int32
The instance count.
Exceptions
serviceTypeName
or partitionDescription
is null.
Applies to
Azure SDK for .NET