다음을 통해 공유


ReliableStateManager.IStateProviderReplica.Initialize Method

Definition

Initialize the state provider replica using the service initialization information.

void IStateProviderReplica.Initialize (System.Fabric.StatefulServiceInitializationParameters initializationParameters);
abstract member Microsoft.ServiceFabric.Data.IStateProviderReplica.Initialize : System.Fabric.StatefulServiceInitializationParameters -> unit
override this.Microsoft.ServiceFabric.Data.IStateProviderReplica.Initialize : System.Fabric.StatefulServiceInitializationParameters -> unit
Sub Initialize (initializationParameters As StatefulServiceInitializationParameters) Implements IStateProviderReplica.Initialize

Parameters

initializationParameters
StatefulServiceInitializationParameters

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

Implements

Remarks

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

Applies to