TaskDefinitionCanUseUnifiedSchedulingEngine Method
Determines whether this
TaskDefinition can use the Unified Scheduling Engine or if it contains unsupported properties.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public bool CanUseUnifiedSchedulingEngine(
bool throwExceptionWithDetails = false,
Version taskSchedulerVersion = null
)
- throwExceptionWithDetails Boolean (Optional)
-
if set to true throws an InvalidOperationException with details about unsupported properties in the Data
property of the exception.
- taskSchedulerVersion Version (Optional)
Booleantrue if this
TaskDefinition can use the Unified Scheduling Engine; otherwise,
false.