ServiceInitializationParameters 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 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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應