StatefulServiceContext Class
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.
Represents the service context that the stateful service is operating under.
public sealed class StatefulServiceContext : System.Fabric.ServiceContext
type StatefulServiceContext = class
inherit ServiceContext
Public NotInheritable Class StatefulServiceContext
Inherits ServiceContext
- Inheritance
Constructors
StatefulServiceContext(NodeContext, ICodePackageActivationContext, String, Uri, Byte[], Guid, Int64) |
Initializes a new instance of the StatefulServiceContext class. |
Properties
CodePackageActivationContext |
Gets the code package activation context, which contains information from the service manifest and the currently activated code package, like work directory, context ID etc. (Inherited from ServiceContext) |
InitializationData |
Gets the initialization data of the service. (Inherited from ServiceContext) |
ListenAddress |
The address at which the service should start the communication listener. (Inherited from ServiceContext) |
NodeContext |
Gets the node context with information about the node where the service replica is instantiated. (Inherited from ServiceContext) |
PartitionId |
Gets the partition ID. (Inherited from ServiceContext) |
PublishAddress |
The address which the service should publish as the listen address. (Inherited from ServiceContext) |
ReplicaId |
Gets the stateful service replica ID. |
ReplicaOrInstanceId |
Gets the stateful service replica ID or the stateless service instance ID. (Inherited from ServiceContext) |
ServiceName |
Get the service name. (Inherited from ServiceContext) |
ServiceTypeName |
Gets the service type name. (Inherited from ServiceContext) |
TraceId |
Gets the trace ID of the service. (Inherited from ServiceContext) |
Applies to
Azure SDK for .NET