Export (0) Print
Expand All

ITaskFactory Interface

Interface that a task factory Instance should implement.

Namespace:  Microsoft.Build.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

'Declaration
Public Interface ITaskFactory

The ITaskFactory type exposes the following members.

  NameDescription
Public propertyFactoryNameGets the name of the factory.
Public propertyTaskTypeGets the type of the task this factory will instantiate.
Top

  NameDescription
Public methodCleanupTaskCleans up any context or state that may have been built up for a given task.
Public methodCreateTaskCreates an instance of the task to be used in a batch. The task factory logging host will log messages in the context of the task.
Public methodGetTaskParametersGet the descriptions for all the task's parameters.
Public methodInitializeInitializes this factory for instantiating tasks with a particular inline task block.
Top

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft