你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServiceInitializationParameters Class
- java.
lang. Object - system.
fabric. ServiceInitializationParameters
- system.
public class ServiceInitializationParameters
Remarks:Derived types define initialization data that are specific to stateless and stateful services.
Method Summary
Modifier and Type | Method and Description |
---|---|
Fabric |
getCodePackageActivationContext()
Specifies the activation context that is associated with the code package that contains the service. |
byte [] |
getInitializationData()
Specifies custom initialization data that is provided by the creator of the service as part of the service description. |
UUID |
getPartitionId()
Specifies the unique identifier of the service partition. |
URI |
getServiceName()
Indicates the Service Fabric name of the service. |
String |
getServiceTypeName()
Indicates the name of the type of the service. |
Method Details
getCodePackageActivationContext
public FabricCodePackageActivationContext getCodePackageActivationContext()
Specifies the activation context that is associated with the code package that contains the service.
Returns:
getInitializationData
public byte [] getInitializationData()
Specifies custom initialization data that is provided by the creator of the service as part of the service description.
Returns:
getPartitionId
public UUID getPartitionId()
Specifies the unique identifier of the service partition.
Returns:
getServiceName
public URI getServiceName()
Indicates the Service Fabric name of the service.
Returns:
getServiceTypeName
public String getServiceTypeName()
Indicates the name of the type of the service.
Returns: