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



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net