| SmtpBeginConnect Method (String, AsyncCallback) |
Begins an asynchronous request for a remote server connection using
DefaultPort.
Namespace:
Limilabs.Client.SMTP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public IAsyncResult BeginConnect(
string host,
AsyncCallback asyncCallback
)
Public Function BeginConnect (
host As String,
asyncCallback As AsyncCallback
) As IAsyncResult
public:
IAsyncResult^ BeginConnect(
String^ host,
AsyncCallback^ asyncCallback
)
member BeginConnect :
host : string *
asyncCallback : AsyncCallback -> IAsyncResult
Parameters
- host
- Type: SystemString
The name or IP address of the remote server. - asyncCallback
- Type: SystemAsyncCallback
The AsyncCallback delegate.
Return Value
Type:
IAsyncResultAn IAsyncResult that references the asynchronous connection.
See Also