Task Scheduler Managed Class Library
C#
Show/Hide TOC
Task
Definition
Validate Method
Validates the current
TaskDefinition
.
Definition
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
C#
Copy
View Source
Request Example
public
bool
Validate
(
bool
throwException
=
false
)
Parameters
throwException
Boolean
(Optional)
if set to
true
throw a
InvalidOperationException
with details about invalid properties.
Return Value
Boolean
true
if current
TaskDefinition
is valid;
false
if not.
See Also
Reference
TaskDefinition Class
Microsoft.Win32.TaskScheduler Namespace
In This Article
Definition
Parameters
Return Value
See Also