| ClientBaseConnectAsync Method (IPEndPoint, Boolean) |
Establishes connection to a remote server.
Namespace:
Limilabs.Client
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public Task ConnectAsync(
IPEndPoint ipEndPoint,
bool useSSL
)
Public Function ConnectAsync (
ipEndPoint As IPEndPoint,
useSSL As Boolean
) As Task
public:
Task^ ConnectAsync(
IPEndPoint^ ipEndPoint,
bool useSSL
)
member ConnectAsync :
ipEndPoint : IPEndPoint *
useSSL : bool -> Task
Parameters
- ipEndPoint
- Type: System.NetIPEndPoint
Network endpoint (IP address and port) of the connection. - useSSL
- Type: SystemBoolean
Creates SSL/TLS connection when set to true.
Return Value
Type:
TaskA task that represents the asynchronous connect operation.
See Also