編輯

共用方式為


ReliableSessionElement.AcknowledgementInterval Property

Definition

Gets or sets the interval of time that a destination waits before sending an acknowledgment to the message source on reliable channels that are created by the factory.

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

Property Value

A TimeSpan that specifies the interval of time that a service waits until sending an acknowledgment to the message source. The default value is 2 seconds.

Attributes

Applies to