Task Scheduler Managed Class Library
Task Scheduler Managed Class Library
Task Scheduler Managed Class Library Overview
Microsoft.Win32.TaskScheduler
TaskDefinition Class
TaskDefinition Methods
CanUseUnifiedSchedulingEngine Method
Dispose Method
GetV1SchemaFile Method
Validate Method
Task
Definition
Validate Method
Validates the current
TaskDefinition
.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
Copy
public
bool
Validate
(
bool
throwException
=
false
)
Request Example
View Source
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
© 2024 GitHub Community. All rights reserved.