IGrainMigrationParticipant
interface
Namespace: Orleans.Runtime
Participates in the dehydration and rehydration of a grain activation during migration.
public interface IGrainMigrationParticipantMethods
OnDehydrate(IDehydrationContext)Called on the original activation when migration is initiated, afterIGrainBasecompletes. The participant can access and update the dehydration context.OnRehydrate(IRehydrationContext)Called on the new activation after a migration, beforeIGrainBaseis called. The participant can restore state from the migration context.
