IMultiThreadableTask.TaskEnvironment Property
Definition
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.
Gets or sets the task execution environment, which provides access to project current directory and environment variables in a thread-safe manner.
public:
property Microsoft::Build::Framework::TaskEnvironment ^ TaskEnvironment { Microsoft::Build::Framework::TaskEnvironment ^ get(); void set(Microsoft::Build::Framework::TaskEnvironment ^ value); };
public Microsoft.Build.Framework.TaskEnvironment TaskEnvironment { get; set; }
member this.TaskEnvironment : Microsoft.Build.Framework.TaskEnvironment with get, set
Public Property TaskEnvironment As TaskEnvironment
Property Value
Task environment which provides access to project current directory and environment variables.
Remarks
This property is set on behalf of the Task by the MSBuild engine before the Task is executed. It should never be set by a Task itself.