17 references to UdpConstants
System.ServiceModel.Discovery (17)
System\ServiceModel\Discovery\Configuration\UdpTransportSettingsElement.cs (16)
31
[ConfigurationProperty(ConfigurationStrings.MaxPendingMessageCount, DefaultValue =
UdpConstants
.Defaults.MaxPendingMessageCount)]
88
[ConfigurationProperty(ConfigurationStrings.SocketReceiveBufferSize, DefaultValue =
UdpConstants
.Defaults.SocketReceiveBufferSize)]
89
[IntegerValidator(MinValue =
UdpConstants
.MinReceiveBufferSize, MaxValue = int.MaxValue)]
102
[ConfigurationProperty(ConfigurationStrings.TimeToLive, DefaultValue =
UdpConstants
.Defaults.TimeToLive)]
103
[IntegerValidator(MinValue =
UdpConstants
.MinTimeToLive, MaxValue =
UdpConstants
.MaxTimeToLive)]
117
[ConfigurationProperty(ConfigurationStrings.MaxReceivedMessageSize, DefaultValue =
UdpConstants
.Defaults.MaxReceivedMessageSize)]
118
[LongValidator(MinValue = 1L, MaxValue =
UdpConstants
.Defaults.MaxReceivedMessageSize)]
166
UdpConstants
.Defaults.MaxPendingMessageCount,
202
UdpConstants
.Defaults.SocketReceiveBufferSize,
204
new IntegerValidator(
UdpConstants
.MinReceiveBufferSize, int.MaxValue),
211
UdpConstants
.Defaults.TimeToLive,
213
new IntegerValidator(
UdpConstants
.MinTimeToLive,
UdpConstants
.MaxTimeToLive),
220
UdpConstants
.Defaults.MaxReceivedMessageSize,
222
new LongValidator(1L,
UdpConstants
.Defaults.MaxReceivedMessageSize),
System\ServiceModel\Discovery\UdpTransportSettings.cs (1)
17
this.maxPendingMessageCount =
UdpConstants
.Defaults.MaxPendingMessageCount;