NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ErrorEventArgs Class

Provides data for the System.IO.FileSystemWatcher.OnError event.

Object
   EventArgs
      ErrorEventArgs

[Visual Basic]
Public Class ErrorEventArgs
   Inherits EventArgs
[C#]
public class ErrorEventArgs : EventArgs
[C++]
public __gc class ErrorEventArgs : public EventArgs
[JScript]
public class ErrorEventArgs extends EventArgs

Remarks

ErrorEventArgs contains the Exception that caused the System.IO.FileSystemWatcher.OnError event and provides a method, GetException, to retrieve the exception.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

ErrorEventArgs Members | System.WinForms Namespace | ErrorEventHandler | System.IO.FileSystemWatcher | System.IO.FileSystemWatcher.OnError