Share via


IStateProviderReplica.Initialize Method

Definition

Initialize the state provider replica using the service initialization information.

public void Initialize (System.Fabric.StatefulServiceInitializationParameters initializationParameters);
abstract member Initialize : System.Fabric.StatefulServiceInitializationParameters -> unit
Public Sub Initialize (initializationParameters As StatefulServiceInitializationParameters)

Parameters

initializationParameters
StatefulServiceInitializationParameters

Service initialization information such as service name, partition id, replica id, and code package information.

Remarks

No complex processing should be done during Initialize. Expensive or long-running initialization should be done in OpenAsync.

Applies to