Compartir vía


StatelessServiceInitializationParameters Class

public class StatelessServiceInitializationParameters extends ServiceInitializationParameters

Defines service initialization parameters for a stateless service.

Constructor Summary

Constructor Description
StatelessServiceInitializationParameters(FabricCodePackageActivationContext codePackageActivationContext)

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

Method Summary

Modifier and Type Method and Description
long getInstanceId()

Specifies the unique identifier for the stateless service instance.

Inherited Members

Constructor Details

StatelessServiceInitializationParameters

public StatelessServiceInitializationParameters(FabricCodePackageActivationContext codePackageActivationContext)

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

Parameters:

codePackageActivationContext - Activation context for the Service Fabric service.

Method Details

getInstanceId

public long getInstanceId()

Specifies the unique identifier for the stateless service instance.

Returns:

Returns long.

Applies to