 | SmtpConnectSSLAsync(String, CancellationToken) Method |
Connects to SMTP server using SSL/TLS on port 465.
Namespace: Limilabs.Client.SMTPAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task ConnectSSLAsync(
string host,
CancellationToken cancel = default
)
Public Function ConnectSSLAsync (
host As String,
Optional cancel As CancellationToken = Nothing
) As Task
public:
Task^ ConnectSSLAsync(
String^ host,
CancellationToken cancel = CancellationToken()
)
member ConnectSSLAsync :
host : string *
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task Parameters
- host String
- Host name or IP address.
- 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.
Exceptions
See Also