| 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 | |
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.
| Property | Description |
|---|---|
| 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) |
Target Platforms: Windows 2000, Windows XP SP3 Family, Windows Server 2003-2008 Family, Windows Vista, Windows 7
Copy Code