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.

  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.5.2, 4.5.1, 4.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft