IGrainRuntime.DeactivateOnIdle 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.
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.