CustomBindingElement.ReceiveTimeout 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置为完成接收操作提供的时间间隔。
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,指定在超时前必须完成接收操作的时间。
- 属性