Click or drag to resize
MimeKit

DisconnectedEventArgs Class

Disconnected event arguments.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    MailKitConnectedEventArgs
      MailKitDisconnectedEventArgs

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public class DisconnectedEventArgs : ConnectedEventArgs

The DisconnectedEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodDisconnectedEventArgs Initializes a new instance of the DisconnectedEventArgs class.
Top
Properties
 NameDescription
Public propertyHost Get the name of the remote host.
(Inherited from ConnectedEventArgs)
Public propertyIsRequested Get whether or not the service was explicitly asked to disconnect.
Public propertyOptions Get the SSL/TLS options.
(Inherited from ConnectedEventArgs)
Public propertyPort Get the port.
(Inherited from ConnectedEventArgs)
Top
Methods
 NameDescription
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodToString
(Inherited from Object)
Top
Remarks
When a IMailService gets disconnected, it will emit a Disconnected event.
See Also