CollectionAgeLimitAttribute Class
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.
Specifies the period of inactivity before a grain is available for collection and deactivation.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public class CollectionAgeLimitAttribute : Attribute, Orleans.Metadata.IGrainPropertiesProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type CollectionAgeLimitAttribute = class
inherit Attribute
interface IGrainPropertiesProviderAttribute
Public Class CollectionAgeLimitAttribute
Inherits Attribute
Implements IGrainPropertiesProviderAttribute
- Inheritance
-
CollectionAgeLimitAttribute
- Attributes
- Implements
Collection |
Specifies the period of inactivity before a grain is available for collection and deactivation. |
Collection |
Specifies the period of inactivity before a grain is available for collection and deactivation. |
Min |
Gets the minimum activation age. |
Age |
Gets the idle activation collection age. |
Always |
Gets or sets a value indicating whether this grain should never be collected by the idle activation collector. |
Days |
Gets or sets the number of days to delay collecting an idle activation for. |
Hours |
Gets or sets the number of hours to delay collecting an idle activation for. |
Minutes |
Gets or sets the number of minutes to delay collecting an idle activation for. |
Populate(IService |
Adds grain properties to |
Product | Versions |
---|---|
.NET Orleans | 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0 |