 | TaskEventWatcherFolder Property |
Gets or sets the folder to watch.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic string Folder { get; set; }Public Property Folder As String
Get
Set
public:
property String^ Folder {
String^ get ();
void set (String^ value);
} Request Example
View SourceProperty Value
Type:
String
The folder path to watch. This value should include the leading "\" to indicate the root folder.
Exceptions| Exception | Condition |
|---|
| ArgumentException | Thrown if the folder specified does not exist or contains invalid characters. |
See Also