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);

Parameters

grain
IGrainBase

Applies to

Produkt Wersje
.NET Orleans 7.0.0, 8.0.0, 8.1.0, 8.2.0