Dela via


KeyValueStoreReplica.Initialize Method

Definition

Initializes the replica in preparation for opening.

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

Parameters

initializationParameters
StatefulServiceInitializationParameters

The initialization information for the replica.

Implements

Remarks

This method does not need to be called explicitly if the application replica derives from KeyValueStoreReplica, which is the recommended pattern. In this case, the application replica should override OnInitialize(StatefulServiceInitializationParameters) instead.

Applies to