Click or drag to resize
MimeKit

DisconnectedEventArgsIsRequested Property

Get whether or not the service was explicitly asked to disconnect.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.10.0
Syntax
C#
public bool IsRequested { get; }

Property Value

Boolean
if the disconnect was explicitly requested; otherwise, .
Remarks
If the IMailService was disconnected via the Disconnect(Boolean, CancellationToken) method, then the value of IsRequested will be . If the connection was unexpectedly dropped, then the value will be .
See Also