WorkflowIdleElement.TimeToPersist 属性

定义

获取或设置为保留工作流实例分配的时间段。

public:
 property TimeSpan TimeToPersist { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("timeToPersist", DefaultValue="Infinite")]
public TimeSpan TimeToPersist { get; set; }
[System.Configuration.ConfigurationProperty("timeToPersist", DefaultValue="Infinite")]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan TimeToPersist { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("timeToPersist", DefaultValue="Infinite")>]
member this.TimeToPersist : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("timeToPersist", DefaultValue="Infinite")>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.TimeToPersist : TimeSpan with get, set
Public Property TimeToPersist As TimeSpan

属性值

一个 timespan 对象。

属性

适用于