 | TaskDefinitionCanUseUnifiedSchedulingEngine Method |
Determines whether this
TaskDefinition can use the Unified Scheduling Engine or if it contains unsupported properties.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic bool CanUseUnifiedSchedulingEngine(
bool throwExceptionWithDetails = false,
Version taskSchedulerVersion = null
)
Public Function CanUseUnifiedSchedulingEngine (
Optional throwExceptionWithDetails As Boolean = false,
Optional taskSchedulerVersion As Version = Nothing
) As Boolean
public:
bool CanUseUnifiedSchedulingEngine(
bool throwExceptionWithDetails = false,
Version^ taskSchedulerVersion = nullptr
)
Request Example
View SourceParameters
- throwExceptionWithDetails (Optional)
- Type: SystemBoolean
if set to true throws an InvalidOperationException with details about unsupported properties in the Data
property of the exception.
- taskSchedulerVersion (Optional)
- Type: SystemVersion
Return Value
Type:
Booleantrue if this
TaskDefinition can use the Unified Scheduling Engine; otherwise,
false.
See Also