LumiSoft Net Help
GetEmailHosts Method (domain)
NamespacesLumiSoft.Net.DNS.ClientDns_ClientGetEmailHosts(String)
Gets email hosts.
Declaration Syntax
C#Visual BasicVisual C++F#
public HostEntry[] GetEmailHosts(
	string domain
)
Public Function GetEmailHosts ( 
	domain As String
) As HostEntry()
public:
array<HostEntry^>^ GetEmailHosts(
	String^ domain
)
member GetEmailHosts : 
        domain : string -> HostEntry[] 
Parameters
domain (String)
Email domain. For example: 'domain.com'.
Return Value
array<HostEntry>[]()[][]
Returns email hosts in priority order.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and and this method is accessed.
ArgumentNullExceptionIs raised when domain is null reference.
ArgumentExceptionIs raised when any of the arguments has invalid value.
DNS_ClientExceptionIs raised when DNS server returns error.
IOExceptionIs raised when IO reletaed error happens.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119