CollectionAgeLimitAttribute Constructors
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
CollectionAgeLimitAttribute() |
Specifies the period of inactivity before a grain is available for collection and deactivation. |
CollectionAgeLimitAttribute(String) |
Specifies the period of inactivity before a grain is available for collection and deactivation. |
CollectionAgeLimitAttribute()
Specifies the period of inactivity before a grain is available for collection and deactivation.
public CollectionAgeLimitAttribute ();
Public Sub New ()
Remarks
Use the Minutes, Days, and Hours properties or the AlwaysActive to set the limit.
Applies to
CollectionAgeLimitAttribute(String)
Specifies the period of inactivity before a grain is available for collection and deactivation.
public CollectionAgeLimitAttribute (string inactivityPeriod);
new Orleans.CollectionAgeLimitAttribute : string -> Orleans.CollectionAgeLimitAttribute
Public Sub New (inactivityPeriod As String)
Parameters
- inactivityPeriod
- String
The period of inactivity before a grain is available for collection and deactivation, expressed as a string using Parse(String) syntax.