Click or drag to resize
Task Scheduler Managed Class Library

TaskEventWatcherFolder Property

Gets or sets the folder to watch.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
[DefaultValueAttribute("\")]
public string Folder { get; set; }
Request Example View Source

Property Value

String
The folder path to watch. This value should include the leading "\" to indicate the root folder.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if the folder specified does not exist or contains invalid characters.
See Also