TaskDefinitionValidate Method

Validates the current TaskDefinition.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.0
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