Gets email hosts.
| C# | Visual Basic | Visual 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[]
- domain (String)
- Email domain. For example: 'domain.com'.
| Exception | Condition |
|---|---|
| ObjectDisposedException | Is raised when this object is disposed and and this method is accessed. |
| ArgumentNullException | Is raised when domain is null reference. |
| ArgumentException | Is raised when any of the arguments has invalid value. |
| DNS_ClientException | Is raised when DNS server returns error. |
| IOException | Is raised when IO reletaed error happens. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119