Xceed .NET Libraries Documentation
PathException Event


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > FileSystemEvents Class : PathException Event
Raised when an exception is caught during the processing of a path string, allowing the handler to correct the path and retry the operation.
Syntax
'Declaration
 
Public Event PathException As PathExceptionEventHandler
'Usage
 
Dim instance As FileSystemEvents
Dim handler As PathExceptionEventHandler
 
AddHandler instance.PathException, handler
public event PathExceptionEventHandler PathException
Event Data

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

PropertyDescription
Gets or sets the action taken when an exception is thrown during the processing of a FileSystemItem object. (Inherited from Xceed.FileSystem.ItemExceptionEventArgs)
Gets or sets the current FileSystemItem object being processed. (Inherited from )
Gets or sets the exception that was thrown. (Inherited from )
Gets the FileSystem type that was involved when the exception was thrown.  
Gets or sets the path/file name that caused an exception to be thrown.  
Gets or sets the destination FileSystemItem object. (Inherited from )
Gets or sets the opaque data that will be sent back to the event handler whenever an event is raised. (Inherited from )
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also