IGrainRuntime.DelayDeactivation 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
DelayDeactivation(Grain, TimeSpan) | |
DelayDeactivation(IGrainContext, TimeSpan) |
Delays idle activation collection of the provided grain due to inactivity until at least the specified time has elapsed. |
DelayDeactivation(Grain, TimeSpan)
- Source:
- IGrainRuntime.cs
public void DelayDeactivation (Orleans.Grain grain, TimeSpan timeSpan);
abstract member DelayDeactivation : Orleans.Grain * TimeSpan -> unit
Public Sub DelayDeactivation (grain As Grain, timeSpan As TimeSpan)
Parameters
- grain
- Grain
- timeSpan
- TimeSpan
Applies to
DelayDeactivation(IGrainContext, TimeSpan)
Delays idle activation collection of the provided grain due to inactivity until at least the specified time has elapsed.
public void DelayDeactivation (Orleans.Runtime.IGrainContext grainContext, TimeSpan timeSpan);
abstract member DelayDeactivation : Orleans.Runtime.IGrainContext * TimeSpan -> unit
Public Sub DelayDeactivation (grainContext As IGrainContext, timeSpan As TimeSpan)
Parameters
- grainContext
- IGrainContext
The grain context.
- timeSpan
- TimeSpan
The time to delay idle activation collection for.