|
SafeFileWatcherEnableRaisingEvents Property
|
Gets or sets a value indicating whether the component is enabled.
Namespace: GSF.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic bool EnableRaisingEvents { get; set; }
Public Property EnableRaisingEvents As Boolean
Get
Set
public:
property bool EnableRaisingEvents {
bool get ();
void set (bool value);
}
member EnableRaisingEvents : bool with get, set
function get_EnableRaisingEvents();
function set_EnableRaisingEvents(value);
View SourceReturn 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.
ExceptionsException | Condition |
---|
ObjectDisposedException | The FileSystemWatcher object has been disposed. |
PlatformNotSupportedException | The current operating system is not Microsoft Windows NT or later. |
FileNotFoundException | The directory specified in Path could not be found. |
ArgumentException | Path has not been set or is invalid. |
See Also