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

Notifies the object that initialization is complete.

[Visual Basic]
Overridable Public Sub EndInit()
[C#]
public virtual void EndInit();
[C++]
public: virtual void EndInit();
[JScript]
public function EndInit();

Remarks

Watching the directory and checking its state is resumed by the component when EndInit is called. For more information on using EndInit, see BeginInit.

Note   The component is not checking its state after BeginInit, and before EndInit, is called. If Enabled is true, you must supply a valid path for the Path property. The component will not begin watching until a valid path is set.

See Also

FileSystemWatcher Class | FileSystemWatcher Members | System.IO Namespace | BeginInit