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!

FileSystemWatcher Error Event

Occurs when an error is raised.

The following declaration shows the syntax for a method that handles the Error event.

[Visual Basic]
Private Sub FileSystemWatcherName_Error( _
   ByVal sender As Object, _
   ByVal e As ErrorEventArgs _
)
[C#]
private void FileSystemWatcherName_Error(
   object sender,
   ErrorEventArgs e
);
[C++]
private: void FileSystemWatcherName_Error(
   Object* sender,
   ErrorEventArgs* e
);
[JScript]
private FileSystemWatcherName_Error(
   sender : Object,
   e : ErrorEventArgs
);

Parameters

sender
The source of the event.
e
An ErrorEventArgs that contains the event data.

See Also

FileSystemWatcher Class | FileSystemWatcher MembersTopic | System.IO Namespace | ErrorEventArgs | ErrorEventHandler | FileSystemWatcher.OnError