共用方式為


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

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