Skip to content

CollectionAgeLimitAttribute Constructors

Specifies the period of inactivity before a grain is available for collection and deactivation.

CollectionAgeLimitAttribute(string)

View source
public CollectionAgeLimitAttribute(string inactivityPeriod)
Specifies the period of inactivity before a grain is available for collection and deactivation.

Parameters

inactivityPeriodstring
The period of inactivity before a grain is available for collection and deactivation, expressed as a string using System.TimeSpan.Parse syntax.