Partager via


StatelessServiceDescription.InstanceCount Property

 

Applies To: Azure, Windows 10, Windows 8, Windows 8.1, Windows Server 2012 R2

Gets or sets the instance count of this service partition.

Namespace:   System.Fabric.Description
Assembly:  System.Fabric (in System.Fabric.dll)

Syntax

public int InstanceCount { get; set; }

Property Value

Type: System.Int32

The instance count of this service partition.

Remarks

The InstanceCount property indicates how many instances must be created for this service and be maintained by Service Fabric. For a partitioned stateless service, InstanceCount indicates the number of instances to keep per partition.

See Also

StatelessServiceDescription Class
System.Fabric.Description Namespace

Return to top