 | TaskDefinitionValidate Method |
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic bool Validate(
bool throwException = false
)
Public Function Validate (
Optional throwException As Boolean = false
) As Boolean
public:
bool Validate(
bool throwException = false
)
Request Example
View SourceParameters
- throwException (Optional)
- Type: SystemBoolean
if set to true throw a InvalidOperationException with details about invalid properties.
Return Value
Type:
Booleantrue if current
TaskDefinition is valid;
false if not.
See Also