Redigera

Dela via


GrainBaseExtensions.DeactivateOnIdle(IGrainBase) Method

Definition

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

Applies to