共用方式為


CustomBindingElement.ReceiveTimeout 屬性

定義

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

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

屬性值

TimeSpan,指定接收作業在逾時之前多久必須完成。

屬性

適用於