Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WaitForChanged Method

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.

  Name Description
Public method WaitForChanged(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 method WaitForChanged(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
Show:
© 2015 Microsoft