你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceInitializationParameters Class

Definition

Represents the base class for service initialization parameters that are passed to the Initialize(StatefulServiceInitializationParameters) method of a service.

public abstract class ServiceInitializationParameters
type ServiceInitializationParameters = class
Public MustInherit Class ServiceInitializationParameters
Inheritance
ServiceInitializationParameters
Derived

Remarks

Derived types define initialization data that are specific to stateless and stateful services.

Properties

Name Description
CodePackageActivationContext

Specifies the activation context that is associated with the code package that contains the service.

InitializationData

Specifies custom initialization data that is provided by the creator of the service as part of the ServiceDescription class.

PartitionId

Specifies the unique identifier of the service partition.

ServiceName

Indicates the Service Fabric name of the service.

ServiceTypeName

Indicates the name of the type of the service.

Applies to