ApplicationConfiguration.SetCollectionAgeLimit 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
SetCollectionAgeLimit(String, TimeSpan) |
Sets the time period to collect in-active activations for a given type. |
SetCollectionAgeLimit(Type, TimeSpan) |
Sets the time period to collect in-active activations for a given type. |
SetCollectionAgeLimit(String, TimeSpan)
Sets the time period to collect in-active activations for a given type.
public void SetCollectionAgeLimit (string grainTypeFullName, TimeSpan ageLimit);
member this.SetCollectionAgeLimit : string * TimeSpan -> unit
Public Sub SetCollectionAgeLimit (grainTypeFullName As String, ageLimit As TimeSpan)
Parameters
- grainTypeFullName
- String
Grain type full name string.
- ageLimit
- TimeSpan
The age limit to use.
Applies to
SetCollectionAgeLimit(Type, TimeSpan)
Sets the time period to collect in-active activations for a given type.
public void SetCollectionAgeLimit (Type type, TimeSpan ageLimit);
member this.SetCollectionAgeLimit : Type * TimeSpan -> unit
Public Sub SetCollectionAgeLimit (type As Type, ageLimit As TimeSpan)
Parameters
- type
- Type
Grain type full name.
- ageLimit
- TimeSpan
The age limit to use.