共用方式為


UdpAnnouncementEndpointElement.MaxAnnouncementDelay 屬性

定義

取得或設定服務在傳送公告訊息前需要等候的延遲上限。

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

屬性值

TimeSpan

延遲上限。

屬性
TypeConverterAttribute ConfigurationPropertyAttribute ServiceModelTimeSpanValidatorAttribute

適用於