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

适用于