PowerTCP Zip Compression for .NET
Exception Event




Occurs to report a warning condition that is not a fatal error.
Syntax
<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
Event Data

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.

PropertyDescription
ExceptionThe exception condition that occurred during the processing of an item in the collection.  
IndexThe index of the ArchiveItem object in the Archive object that the exception condition occurs.  
Remarks

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.

See Also

Reference

Archive Class
Archive Members


PowerTCP Zip for .NET Documentation Version 2.1.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic