Click or drag to resize

SafeFileWatcherEnableRaisingEvents Property

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

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public bool EnableRaisingEvents { get; set; }
View Source

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
ExceptionCondition
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