ItemException Event
See Also 
Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > FileSystemEvents Class : ItemException Event


Raised when an exception is caught during the processing of a FileSystemItem object, allowing the handler to decide the action to take.

Syntax

Visual Basic (Declaration) 
Public Event ItemException As ItemExceptionEventHandler
Visual Basic (Usage)Copy Code
Dim instance As FileSystemEvents
Dim handler As ItemExceptionEventHandler
 
AddHandler instance.ItemException, handler
C# 
public event ItemExceptionEventHandler ItemException

Event Data

The event handler receives an argument of type ItemExceptionEventArgs containing data related to this event. The following ItemExceptionEventArgs properties provide information specific to this event.

PropertyDescription
Action Gets or sets the action taken when an exception is thrown during the processing of a FileSystemItem object.
CurrentItem (Inherited from Xceed.FileSystem.FileSystemEventArgs) 
Exception Gets or sets the exception that was thrown.
TargetItem (Inherited from Xceed.FileSystem.FileSystemEventArgs) 
UserData (Inherited from Xceed.FileSystem.FileSystemEventArgs) 

Requirements

Target Platforms: Windows 2000, Windows XP SP3 Family, Windows Server 2003-2008 Family, Windows Vista, Windows 7

See Also