GrainBaseExtensions.DeactivateOnIdle(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.
Deactivate this grain activation after the current grain method call is completed. This call will mark this activation of the current grain to be deactivated and removed at the end of the current method. The next call to this grain will result in a different activation to be used, which typical means a new activation will be created automatically by the runtime.
public static void DeactivateOnIdle (this Orleans.IGrainBase grain);
static member DeactivateOnIdle : Orleans.IGrainBase -> unit
<Extension()>
Public Sub DeactivateOnIdle (grain As IGrainBase)
Parameters
- grain
- IGrainBase