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.WaitForChanged

A synchronous method that returns a structure for the specified type of change that you wish to monitor.

Overload List

A synchronous method that returns a structure for the specified type of change that you wish 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 with the type of change and the amount of time to wait for a change specified, that returns a structure for the specified type of change that you wish to monitor.

[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