SafeFileWatcherEnableRaisingEvents Property

Gets or sets a value indicating whether the component is enabled.

Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.136 -- Release Build+d454dafd53fcce88fce9c0a8ec8597176c30b791
public bool EnableRaisingEvents { get; set; }

Return Value

Boolean
true if the component is enabled; otherwise, false. The default is false. If you are using the component on a designer in Visual Studio 2005, the default is true.

Exceptions

ObjectDisposedExceptionThe FileSystemWatcher object has been disposed.
PlatformNotSupportedExceptionThe current operating system is not Microsoft Windows NT or later.
FileNotFoundExceptionThe directory specified in Path could not be found.
ArgumentExceptionPath has not been set or is invalid.

See Also