Partage via


AnnouncementEndpointElement.MaxAnnouncementDelay Propriété

Définition

Obtient ou définit le délai d'attente maximal requis pour un service avant d'envoyer des messages d'annonce.

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")]
[System.ServiceModel.Configuration.ServiceModelTimeSpanValidator(MinValueString="00:00:00")]
public TimeSpan MaxAnnouncementDelay { get; set; }
[System.Configuration.ConfigurationProperty("maxAnnouncementDelay", DefaultValue="00:00:00")]
[System.ServiceModel.Configuration.ServiceModelTimeSpanValidator(MinValueString="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")>]
[<System.ServiceModel.Configuration.ServiceModelTimeSpanValidator(MinValueString="00:00:00")>]
member this.MaxAnnouncementDelay : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("maxAnnouncementDelay", DefaultValue="00:00:00")>]
[<System.ServiceModel.Configuration.ServiceModelTimeSpanValidator(MinValueString="00:00:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.MaxAnnouncementDelay : TimeSpan with get, set
Public Property MaxAnnouncementDelay As TimeSpan

Valeur de propriété

TimeSpan

Délai maximal.

Attributs
TypeConverterAttribute ConfigurationPropertyAttribute ServiceModelTimeSpanValidatorAttribute

Remarques

Chaque service doit attendre pendant une période aléatoire à l'issue de laquelle il peut envoyer des messages d'annonce. Cette propriété définit la durée maximale d'attente (en millisecondes) du service.

S’applique à