CustomBindingElement.CloseTimeout 属性

定义

获取或设置为完成关闭操作而提供的时间间隔。

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

属性值

TimeSpan

TimeSpan,指定在超时前必须完成关闭操作的时间。

属性

适用于