ReliableSessionElement.AcknowledgementInterval 属性

定义

获取或设置在向工厂所创建的可靠通道上的消息源发送确认之前目标等待的时间间隔。

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

属性值

TimeSpan

一个 TimeSpan,用于指定在向消息源发送确认之前服务等待的时间间隔。 默认值为 2 秒。

属性

适用于