 | ClientBaseBeginConnect Method (String, Int32, Boolean) |
Begins an asynchronous request for a remote server connection.
Namespace:
Limilabs.Client
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntaxpublic IAsyncResult BeginConnect(
string host,
int port,
bool useSSL
)
Public Function BeginConnect (
host As String,
port As Integer,
useSSL As Boolean
) As IAsyncResult
public:
IAsyncResult^ BeginConnect(
String^ host,
int port,
bool useSSL
)
member BeginConnect :
host : string *
port : int *
useSSL : bool -> IAsyncResult
Parameters
- host
- Type: SystemString
The name or IP address of the remote server. - port
- Type: SystemInt32
The port number of the remote server. - useSSL
- Type: SystemBoolean
Creates SSL/TLS connection when set to true.
Return Value
Type:
IAsyncResultAn IAsyncResult that references the asynchronous connection.
See Also