 | MailServiceOnDisconnected Method |
Raise the disconnected event.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.10.0
Syntaxprotected virtual void OnDisconnected(
string host,
int port,
SecureSocketOptions options,
bool requested
)
Parameters
- host String
- The name of the host that the client was connected to.
- port Int32
- The port that the client was connected to on the remote host.
- options SecureSocketOptions
- The SSL/TLS options that were used by the client.
- requested Boolean
- if the disconnect was explicitly requested; otherwise, .
Remarks
Raises the disconnected event.
See Also