Dart.PowerTCP.Zip Namespace > Archive Class : Exception Event |
<CategoryAttribute("Progress")> <DescriptionAttribute("Raised when an non-fatal exception (warning) is encountered.")> Public Event Exception As ExceptionEventHandler
Dim instance As Archive Dim handler As ExceptionEventHandler AddHandler instance.Exception, handler
[Category("Progress")] [Description("Raised when an non-fatal exception (warning) is encountered.")] public event ExceptionEventHandler Exception
[Category("Progress")] [Description("Raised when an non-fatal exception (warning) is encountered.")] public: __event ExceptionEventHandler* Exception
[Category("Progress")] [Description("Raised when an non-fatal exception (warning) is encountered.")] public: event ExceptionEventHandler^ Exception
The event handler receives an argument of type ExceptionEventArgs containing data related to this event. The following ExceptionEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Exception | The exception condition that occurred during the processing of an item in the collection. |
Index | The index of the ArchiveItem object in the Archive object that the exception condition occurs. |
The Exception event data is stored in an ExceptionEventArgs object. See the Enumeration Archive.ErrorCode for the complete list of the exception conditions defined in the Archive component. The Exception event is only raised when an Exception occurs at the Archive level. An Exception that occurs at the ArchiveItem level will be raised to the application directly.
When an Exception occurs, the ArchiveItem.Exception will be set with the Exception.