Click or drag to resize
MimeKit

MailServiceOnDisconnected Method

Raise the disconnected event.

Namespace:  MailKit
Assembly:  MailKit (in MailKit.dll) Version: 2.3.0
Syntax
C#
protected virtual void OnDisconnected(
	string host,
	int port,
	SecureSocketOptions options,
	bool requested
)

Parameters

host
Type: SystemString
The name of the host that the client was connected to.
port
Type: SystemInt32
The port that the client was connected to on the remote host.
options
Type: MailKit.SecuritySecureSocketOptions
The SSL/TLS options that were used by the client.
requested
Type: SystemBoolean
true if the disconnect was explicitly requested; otherwise, false.
Remarks
Raises the disconnected event.
See Also