StatelessServiceDescription.InstanceCount Property

Definition

Gets or sets the instance count of this service partition.

public int InstanceCount { get; set; }
member this.InstanceCount : int with get, set
Public Property InstanceCount As Integer

Property Value

Int32

The instance count of this service partition.

Remarks

The InstanceCount property indicates the number of instances to be created for this service. The specified number of instances will be maintained by Service Fabric. For a partitioned stateless service, InstanceCount indicates the number of instances to be kept per partition.

Applies to