DnsServer Constructor (String, Int32)
Initializes a new instance of the DnsServer class with the given IP address string and priority value.

Namespace: MailBee.DnsMX
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public DnsServer(
	string host,
	int priority
)

Parameters

host
Type: SystemString
IP address of the DNS server.
priority
Type: SystemInt32
A preference of the DNS server. Lower values are preferred.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionhost is not a valid IP address string.
Remarks
You can find more information on the server priority in SortableByPriorityCollection class documentation.
See Also