StatefulServiceBase.Context Property
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.
Gets the service context that this stateful service is operating under. It provides information like replica ID, partition ID, service name etc.
public System.Fabric.StatefulServiceContext Context { get; }
member this.Context : System.Fabric.StatefulServiceContext
Public ReadOnly Property Context As StatefulServiceContext
Property Value
A StatefulServiceContext describes the service context, which it provides information like replica ID, partition ID, and service name.