DnsServerUdpRetryCount Property
Gets or sets a value of the maximum number of times to attempt to connect to the DNS server using the UDP protocol.

Namespace: MailBee.DnsMX
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public int UdpRetryCount { get; set; }

Property Value

Type: Int32
An integer value in the range 0 to 10 indicating the maximum number of times to attempt to connect to the DNS server using the UDP protocol. The default value is 2.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionUdpRetryCount is less than 0 or greater than 10.
MailBeeInvalidStateExceptionAn attempt to set this property to 0 when the current state of DnsServer object denotes that DNS TCP queries are disabled (TryTcp is false).
Remarks
In case if UDP retry count exceeded, MailBee will also make yet another attempt via TCP (unless TryTcp is false).
See Also