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

StatefulServiceInitializationParameters Class

public class StatefulServiceInitializationParameters extends ServiceInitializationParameters

Defines service initialization parameters for a stateful service.

Constructor Summary

Constructor Description
StatefulServiceInitializationParameters(FabricCodePackageActivationContext codePackageActivationContext)

Initializes a new instance of the system.fabric.StatefulServiceInitializationParameters with given FabricCodePackageActivationContext

Method Summary

Modifier and Type Method and Description
long getReplicaId()

Gets the unique identifier for the stateful service replica.

Inherited Members

Constructor Details

StatefulServiceInitializationParameters

public StatefulServiceInitializationParameters(FabricCodePackageActivationContext codePackageActivationContext)

Initializes a new instance of the system.fabric.StatefulServiceInitializationParameters with given FabricCodePackageActivationContext

Parameters:

codePackageActivationContext - Activation context for the Service Fabric service.

Method Details

getReplicaId

public long getReplicaId()

Gets the unique identifier for the stateful service replica.

Returns:

id of the Stateful service replica.

Applies to