ErrorEventArgs

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( )



    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System