AnnouncementEndpointElement.MaxAnnouncementDelay Proprietà

Definizione

Ottiene o imposta il ritardo di attesa massimo richiesto a un servizio prima dell'invio di messaggi di annuncio.

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

Valore della proprietà

TimeSpan

Ritardo massimo.

Attributi
TypeConverterAttribute ConfigurationPropertyAttribute ServiceModelTimeSpanValidatorAttribute

Commenti

Ogni servizio deve attendere un periodo di tempo casuale prima di inviare messaggi di annuncio. Questa proprietà imposta la quantità massima di tempo di attesa (in millisecondi) del servizio.

Si applica a