StatelessServiceContext 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.
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
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
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기