Share via


StatelessServiceContext Class

Definition

The service context that the stateless service is operating under.

public sealed class StatelessServiceContext : System.Fabric.ServiceContext
type StatelessServiceContext = class
    inherit ServiceContext
Public NotInheritable Class StatelessServiceContext
Inherits ServiceContext
Inheritance
StatelessServiceContext

Constructors

StatelessServiceContext(NodeContext, ICodePackageActivationContext, String, Uri, Byte[], Guid, Int64)

Initializes a new instance of the StatelessServiceContext 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)
InstanceId

Gets the stateless service instance ID.

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)
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