共用方式為


StatefulServiceBase.Partition Property

Definition

Gets the service partition to which current service replica belongs.

protected System.Fabric.IStatefulServicePartition Partition { get; }
member this.Partition : System.Fabric.IStatefulServicePartition
Protected ReadOnly Property Partition As IStatefulServicePartition

Property Value

An IStatefulServicePartition that represents the partition to which this service replica belongs.

Applies to