IBuildEngine4 Interface

.NET Framework 4.5

This interface extends IBuildEngine to provide a mechanism allowing tasks to share data between task invocations.

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

type IBuildEngine4 =  
    interface 
        interface IBuildEngine3 
        interface IBuildEngine2 
        interface IBuildEngine 
    end

The IBuildEngine4 type exposes the following members.

  NameDescription
Public propertyColumnNumberOfTaskNodeGets the line number of the task node within the project file that called it. (Inherited from IBuildEngine.)
Public propertyContinueOnErrorReturns true if the ContinueOnError flag was set to true for this particular task in the project file. (Inherited from IBuildEngine.)
Public propertyIsRunningMultipleNodesReturns whether the system is running in single- or multi-processor mode. (Inherited from IBuildEngine2.)
Public propertyLineNumberOfTaskNodeGets the line number of the task node within the project file that called it. (Inherited from IBuildEngine.)
Public propertyProjectFileOfTaskNodeGets the full path to the project file that contained the call to this task. (Inherited from IBuildEngine.)
Top

  NameDescription
Public methodBuildProjectFile(String, String[], IDictionary, IDictionary)Initiates a build of a project file. If the build is successful, the outputs, if any, of the specified targets are returned. (Inherited from IBuildEngine.)
Public methodBuildProjectFile(String, String[], IDictionary, IDictionary, String)Initiates a build of a project file. If the build is successful, the outputs of the specified targets are returned, if any exist. (Inherited from IBuildEngine2.)
Public methodBuildProjectFilesInParallel(String[], String[], IDictionary[], IList(String)[], String[], Boolean)Allows tasks to initiate a build on a project file (Inherited from IBuildEngine3.)
Public methodBuildProjectFilesInParallel(String[], String[], IDictionary[], IDictionary[], String[], Boolean, Boolean)Allows tasks to initiate parallel builds of the specified project files on systems with multiple processors or multiple core processors. If the builds are successful, the outputs of the specified targets are returned, if any exist. (Inherited from IBuildEngine2.)
Public methodGetRegisteredTaskObjectRetrieves a previously registered task object stored with the specified key.
Public methodLogCustomEventRaises a custom event to all registered loggers. (Inherited from IBuildEngine.)
Public methodLogErrorEventRaises an error event to all registered loggers. (Inherited from IBuildEngine.)
Public methodLogMessageEventRaises a message event to all registered loggers. (Inherited from IBuildEngine.)
Public methodLogWarningEventRaises a warning event to all registered loggers. (Inherited from IBuildEngine.)
Public methodReacquireWaits to reacquire control after yielding. (Inherited from IBuildEngine3.)
Public methodRegisterTaskObjectRegisters an object with the system that will be disposed of at some specified time in the future.
Public methodUnregisterTaskObjectUnregisters a previously registered task object.
Public methodYieldInforms the system that this task has a long-running out-of-process component and other work can be done in the build while that work completes. (Inherited from IBuildEngine3.)
Top

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft