 | SmtpNoopAsync Method |
Sends NOOP command to the server. It does nothing and always succeeds.
Can be used to reset any inactivity auto-logout timer on the server.
Namespace: Limilabs.Client.SMTPAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task NoopAsync(
CancellationToken cancel = default
)
Public Function NoopAsync (
Optional cancel As CancellationToken = Nothing
) As Task
public:
Task^ NoopAsync(
CancellationToken cancel = CancellationToken()
)
member NoopAsync :
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task Parameters
- 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 NOOP operation.
Exceptions
See Also