共用方式為


CustomBindingElement.SendTimeout 屬性

定義

取得或設定供傳送作業完成其作業的時間間隔。

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

屬性值

TimeSpan,指定必須在逾時前多久完成傳送作業。

屬性

適用於