Task.BuildEngine2 属性

定义

生成引擎自动设置此属性,以允许任务回调到其中。The build engine automatically sets this property to allow tasks to call back into it. 这是一个便捷属性,因此从此类继承的任务作者不必将值从 IBuildEngine 强制转换为 IBuildEngine2。This is a convenience property so that task authors inheriting from this class do not have to cast the value from IBuildEngine to IBuildEngine2.

public:
 property Microsoft::Build::Framework::IBuildEngine2 ^ BuildEngine2 { Microsoft::Build::Framework::IBuildEngine2 ^ get(); };
public Microsoft.Build.Framework.IBuildEngine2 BuildEngine2 { get; }
member this.BuildEngine2 : Microsoft.Build.Framework.IBuildEngine2
Public ReadOnly Property BuildEngine2 As IBuildEngine2

属性值

IBuildEngine2

可供任务使用的生成引擎接口。The build engine interface available to tasks.

适用于