CommandReply Event
Reports the receipt of a reply to a command.
Syntax
public event OnCommandReplyHandler OnCommandReply; public delegate void OnCommandReplyHandler(object sender, ImapclientCommandReplyEventArgs e); public class ImapclientCommandReplyEventArgs : EventArgs { public string Cmd { get; } public string Reply { get; } }
Public Event OnCommandReply As OnCommandReplyHandler Public Delegate Sub OnCommandReplyHandler(sender As Object, e As ImapclientCommandReplyEventArgs) Public Class ImapclientCommandReplyEventArgs Inherits EventArgs Public ReadOnly Property Cmd As String Public ReadOnly Property Reply As String End Class
Remarks
Use this event to track command replies sent in by the server. Use Command to track the commands sent out by the client, and CommandReplyData to access the reply data for commands that assume it.