CodeTaskFactory.CreateTask(IBuildEngine) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a taskfactory instance which contains the data that needs to be refreshed between task invocations.
public:
virtual Microsoft::Build::Framework::ITask ^ CreateTask(Microsoft::Build::Framework::IBuildEngine ^ loggingHost);
public:
virtual Microsoft::Build::Framework::ITask ^ CreateTask(Microsoft::Build::Framework::IBuildEngine ^ taskFactoryLoggingHost);
public Microsoft.Build.Framework.ITask CreateTask (Microsoft.Build.Framework.IBuildEngine loggingHost);
public Microsoft.Build.Framework.ITask CreateTask (Microsoft.Build.Framework.IBuildEngine taskFactoryLoggingHost);
abstract member CreateTask : Microsoft.Build.Framework.IBuildEngine -> Microsoft.Build.Framework.ITask
override this.CreateTask : Microsoft.Build.Framework.IBuildEngine -> Microsoft.Build.Framework.ITask
abstract member CreateTask : Microsoft.Build.Framework.IBuildEngine -> Microsoft.Build.Framework.ITask
override this.CreateTask : Microsoft.Build.Framework.IBuildEngine -> Microsoft.Build.Framework.ITask
Public Function CreateTask (loggingHost As IBuildEngine) As ITask
Public Function CreateTask (taskFactoryLoggingHost As IBuildEngine) As ITask
- loggingHosttaskFactoryLoggingHost
- IBuildEngine
The host that logs information from the task factory.
The new task.
Ürün | Sürümler |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |