DekGenius.com
[ Team LiB ] Previous Section Next Section

ErrorEventArgs

System.IO (system.dll)class

This type defines the event arguments that are passed when a FileSystemWatcher.Error event occurs. It contains the exception that was raised by the error, which you can access by calling GetException( ).

public class ErrorEventArgs : EventArgs {
// Public Constructors
   public ErrorEventArgs(Exception exception);
// Public Instance Methods
   public virtual Exception GetException( );
}

Hierarchy

System.Object System.EventArgs ErrorEventArgs

Passed To

ErrorEventHandler.{BeginInvoke( ), Invoke( )}, FileSystemWatcher.OnError( )

    [ Team LiB ] Previous Section Next Section