Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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)

public interface ITaskFactory

The ITaskFactory type exposes the following members.

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

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.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft