Edit

Share via


IGrainMigrationParticipant.OnRehydrate(IRehydrationContext) Method

Definition

Called on the new activation after a migration, before OnActivateAsync(CancellationToken) is called. The participant can restore state from the migration context.

public void OnRehydrate (Orleans.Runtime.IRehydrationContext rehydrationContext);
abstract member OnRehydrate : Orleans.Runtime.IRehydrationContext -> unit
Public Sub OnRehydrate (rehydrationContext As IRehydrationContext)

Parameters

rehydrationContext
IRehydrationContext

The rehydration context.

Applies to