Occurs when an exception is thrown during an asynchronous operation.
The event handler receives an argument of type FTPErrorEventArgs containing data related to this event. The following FTPErrorEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Arguments | Arguments to the method that was being executed when the exception was thrown. |
ConnectionInstanceNumber | Identifies the pooled connection on which the task is running. |
Exception | Exception that was thrown. |
IsGuiThread | Indicates whether or not the event-handler has been invoked on the GUI thread. |
SyncMethodName | Name of the method that was being executed when the exception was thrown. |
TaskID | Identifies the asynchronous operation within which the event was triggered (applies to asynchronous methods only). |