LumiSoft Net Help
BeginGetDomainHosts Method (domain, callback, state)
Namespaces ► LumiSoft.Net.SMTP.Client ► SMTP_Client ► BeginGetDomainHosts(String, AsyncCallback, Object)
Starts getting specified email domain SMTP hosts.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    [ObsoleteAttribute("Use method Dns_Client.GetEmailHostsAsync instead.")]
    public static IAsyncResult BeginGetDomainHosts(
    	string domain,
    	AsyncCallback callback,
    	Object state
    )

    <ObsoleteAttribute("Use method Dns_Client.GetEmailHostsAsync instead.")>
    Public Shared Function BeginGetDomainHosts (
    	domain As String,
    	callback As AsyncCallback,
    	state As Object
    ) As IAsyncResult

    public:
    [ObsoleteAttribute(L"Use method Dns_Client.GetEmailHostsAsync instead.")]
    static IAsyncResult^ BeginGetDomainHosts(
    	String^ domain,
    	AsyncCallback^ callback,
    	Object^ state
    )

    [<ObsoleteAttribute("Use method Dns_Client.GetEmailHostsAsync instead.")>]
    static member BeginGetDomainHosts :
            domain : string *
            callback : AsyncCallback *
            state : Object -> IAsyncResult

Parameters

domain (String)
  Email domain or email address. For example domain.com or user@domain.com.

callback (AsyncCallback)
  Callback to call when the asynchronous operation is complete.

state (Object)
  User data.

Return Value
IAsyncResult
An IAsyncResult that references the asynchronous method.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when domain is null.
ArgumentException | Is raised when any of the arguments has invalid value.

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