Skip to main content
.NET Framework Class Library
FileSystemWatcher..::.WaitForChanged Method





A synchronous method that returns a structure that contains specific information on the change that occurred.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List
 NameDescription
Public methodWaitForChanged(WatcherChangeTypes)A synchronous method that returns a structure that contains specific information on the change that occurred, given the type of change you want to monitor.
Public methodWaitForChanged(WatcherChangeTypes, Int32)A synchronous method that returns a structure that contains specific information on the change that occurred, given the type of change you want to monitor and the time (in milliseconds) to wait before timing out.
Top