ApplicationConfiguration.SetCollectionAgeLimit 方法

定义

重载

SetCollectionAgeLimit(String, TimeSpan)

设置收集给定类型的活动内激活的时间段。

SetCollectionAgeLimit(Type, TimeSpan)

设置收集给定类型的活动内激活的时间段。

SetCollectionAgeLimit(String, TimeSpan)

设置收集给定类型的活动内激活的时间段。

public void SetCollectionAgeLimit (string grainTypeFullName, TimeSpan ageLimit);
member this.SetCollectionAgeLimit : string * TimeSpan -> unit
Public Sub SetCollectionAgeLimit (grainTypeFullName As String, ageLimit As TimeSpan)

参数

grainTypeFullName
String

粒度类型全名字符串。

ageLimit
TimeSpan

要使用的年龄限制。

适用于

SetCollectionAgeLimit(Type, TimeSpan)

设置收集给定类型的活动内激活的时间段。

public void SetCollectionAgeLimit (Type type, TimeSpan ageLimit);
member this.SetCollectionAgeLimit : Type * TimeSpan -> unit
Public Sub SetCollectionAgeLimit (type As Type, ageLimit As TimeSpan)

参数

type
Type

粒度类型全名。

ageLimit
TimeSpan

要使用的年龄限制。

适用于