Click or drag to resize
Task Scheduler Managed Class Library

TaskServiceExtensionsGetFilteredAvailableActions Method (TaskDefinition, AvailableActions, Version)

Filtered the supplied available actions based on this TaskDefinition and the version of the Task Scheduler.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.10.1
Syntax
public static AvailableActions GetFilteredAvailableActions(
	this TaskDefinition td,
	AvailableActions availableActions,
	Version taskSchedulerVersion
)
Request Example View Source

Parameters

td
Type: Microsoft.Win32.TaskSchedulerTaskDefinition
The TaskDefinition instance.
availableActions
Type: Microsoft.Win32.TaskSchedulerAvailableActions
The available actions.
taskSchedulerVersion
Type: SystemVersion
The Task Scheduler version.

Return Value

Type: AvailableActions
The filtered set of available actions.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TaskDefinition. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also