WorkflowRuntimeElement.CachedInstanceExpiration 属性

定义

获取或设置一个值,该值指定缓存实例过期的时间。

public:
 property TimeSpan CachedInstanceExpiration { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("cachedInstanceExpiration", DefaultValue="00:10:00", IsRequired=false)]
[System.Configuration.PositiveTimeSpanValidator]
public TimeSpan CachedInstanceExpiration { get; set; }
[System.Configuration.ConfigurationProperty("cachedInstanceExpiration", DefaultValue="00:10:00", IsRequired=false)]
[System.Configuration.PositiveTimeSpanValidator]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan CachedInstanceExpiration { get; set; }
[System.Configuration.ConfigurationProperty("cachedInstanceExpiration", DefaultValue="00:10:00", IsRequired=false)]
[System.Configuration.PositiveTimeSpanValidator]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan CachedInstanceExpiration { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("cachedInstanceExpiration", DefaultValue="00:10:00", IsRequired=false)>]
[<System.Configuration.PositiveTimeSpanValidator>]
member this.CachedInstanceExpiration : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("cachedInstanceExpiration", DefaultValue="00:10:00", IsRequired=false)>]
[<System.Configuration.PositiveTimeSpanValidator>]
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
member this.CachedInstanceExpiration : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("cachedInstanceExpiration", DefaultValue="00:10:00", IsRequired=false)>]
[<System.Configuration.PositiveTimeSpanValidator>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.CachedInstanceExpiration : TimeSpan with get, set
Public Property CachedInstanceExpiration As TimeSpan

属性值

TimeSpan

时间已缓存的实例将过期。

属性

适用于