Redigera

Dela via


IGrainRuntime.DeactivateOnIdle Method

Definition

Overloads

DeactivateOnIdle(Grain)
DeactivateOnIdle(IGrainContext)

Deactivates the provided grain when it becomes idle.

DeactivateOnIdle(Grain)

Source:
IGrainRuntime.cs
public void DeactivateOnIdle (Orleans.Grain grain);
abstract member DeactivateOnIdle : Orleans.Grain -> unit
Public Sub DeactivateOnIdle (grain As Grain)

Parameters

grain
Grain

Applies to

DeactivateOnIdle(IGrainContext)

Deactivates the provided grain when it becomes idle.

public void DeactivateOnIdle (Orleans.Runtime.IGrainContext grainContext);
abstract member DeactivateOnIdle : Orleans.Runtime.IGrainContext -> unit
Public Sub DeactivateOnIdle (grainContext As IGrainContext)

Parameters

grainContext
IGrainContext

The grain context.

Applies to