Click or drag to resize
MimeKit

DisconnectedEventArgs Constructor

Initializes a new instance of the DisconnectedEventArgs class.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public DisconnectedEventArgs(
	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.
options  SecureSocketOptions
The SSL/TLS options that were used by the client.
requested  Boolean
If true, the IMailService was disconnected via the Disconnect(Boolean, CancellationToken) method.
Remarks
Initializes a new instance of the DisconnectedEventArgs class.
See Also