Modifica

Condividi tramite


AnnouncementEndpointElement.MaxAnnouncementDelay Property

Definition

Gets or sets the maximum delay a service is required to wait before sending announcement messages.

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

Property Value

The maximum delay.

Attributes

Remarks

Each service must wait for a random period of time to elapse before sending announcement messages. This property sets the maximum amount of time (in milliseconds) the service waits.

Applies to