Export (0) Print
Expand All

FileSystemWatcher Events

The events of the FileSystemWatcher class are listed here. For a complete list of FileSystemWatcher class members, see the FileSystemWatcher Members topic.

Public Events

public eventChanged Occurs when a file or directory in the specified Path is changed.
public eventCreated Occurs when a file or directory in the specified Path is created.
public eventDeleted Occurs when a file or directory in the specified Path is deleted.
public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.
public eventError Occurs when the internal buffer overflows.
public eventRenamed Occurs when a file or directory in the specified Path is renamed.

See Also

FileSystemWatcher Class | System.IO Namespace

Show:
© 2014 Microsoft