LocalServiceSecuritySettingsElement.InactivityTimeout 属性

定义

获取或设置一个 TimeSpan,它指定通道在超时之前等待的无活动持续时间。

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

属性值

TimeSpan

一个 TimeSpan 正数,指定通道在超时之前等待的不活动持续时间。默认值为"01:00:00"。

属性

适用于