 | ClientBaseConnectSSLAsync Method |
Establishes connection to a remote server using SSL.
Namespace: Limilabs.ClientAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task ConnectSSLAsync(
string host,
int port,
CancellationToken cancel = default
)
Public Function ConnectSSLAsync (
host As String,
port As Integer,
Optional cancel As CancellationToken = Nothing
) As Task
public:
Task^ ConnectSSLAsync(
String^ host,
int port,
CancellationToken cancel = CancellationToken()
)
member ConnectSSLAsync :
host : string *
port : int *
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task Parameters
- host String
- The name or IP address of the remote server.
- port Int32
- The port number of the remote server.
- cancel CancellationToken (Optional)
- A cancellation token that can be used to signal the asynchronous operation should be canceled.
Return Value
TaskA task that represents the asynchronous connect operation.
See Also