GrainBaseExtensions.MigrateOnIdle(IGrainBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Starts an attempt to migrating this instance to another location. Migration captures the current RequestContext, making it available to the activation's placement director so that it can consider it when selecting a new location. Migration will occur asynchronously, when no requests are executing, and will not occur if the activation's placement director does not select an alternative location.
public static void MigrateOnIdle (this Orleans.IGrainBase grain);
static member MigrateOnIdle : Orleans.IGrainBase -> unit
<Extension()>
Public Sub MigrateOnIdle (grain As IGrainBase)
Parameters
- grain
- IGrainBase