Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FileSystemWatcher.WaitForChanged Method

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

Overload List

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.

[Visual Basic] Overloads Public Function WaitForChanged(WatcherChangeTypes) As WaitForChangedResult
[C#] public WaitForChangedResult WaitForChanged(WatcherChangeTypes);
[C++] public: WaitForChangedResult WaitForChanged(WatcherChangeTypes);
[JScript] public function WaitForChanged(WatcherChangeTypes) : WaitForChangedResult;

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.

[Visual Basic] Overloads Public Function WaitForChanged(WatcherChangeTypes, Integer) As WaitForChangedResult
[C#] public WaitForChangedResult WaitForChanged(WatcherChangeTypes, int);
[C++] public: WaitForChangedResult WaitForChanged(WatcherChangeTypes, int);
[JScript] public function WaitForChanged(WatcherChangeTypes, int) : WaitForChangedResult;

See Also

FileSystemWatcher Class | FileSystemWatcher Members | System.IO Namespace

Show: