Edit

Share via


CollectionAgeLimitAttribute Constructors

Definition

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.

Applies to