Disconnected Event Args Class
Disconnected event arguments.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public class DisconnectedEventArgs : ConnectedEventArgs- Inheritance
- Object EventArgs ConnectedEventArgs DisconnectedEventArgs
Remarks
When a IMailService gets disconnected, it will emit a
Disconnected event.
Constructors
| DisconnectedEventArgs | Initializes a new instance of the DisconnectedEventArgs class. |
Properties
| Host |
Get the name of the remote host.
(Inherited from ConnectedEventArgs) |
| IsRequested | Get whether or not the service was explicitly asked to disconnect. |
| Options |
Get the SSL/TLS options.
(Inherited from ConnectedEventArgs) |
| Port |
Get the port.
(Inherited from ConnectedEventArgs) |
Methods
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |