Gets or sets a value of the maximum number of times to attempt to connect to the DNS server using the UDP protocol.
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.
| Exception Type | Condition |
|---|---|
| MailBeeInvalidArgumentException | UdpRetryCount is less than 0 or greater than 10. |
DnsServer Class | MailBee.DnsMX Namespace