Partilhar via


BuildEventArgs.BuildEventContext Property

Gets or sets location contextual information. This is attached to logging events to define where they are located in relation to the process, engine, project, target, or task that is executing.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

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

Syntax

'Declaration
Public Property BuildEventContext As BuildEventContext
public BuildEventContext BuildEventContext { get; set; }
public:
property BuildEventContext^ BuildEventContext {
    BuildEventContext^ get ();
    void set (BuildEventContext^ value);
}
member BuildEventContext : BuildEventContext with get, set
function get BuildEventContext () : BuildEventContext 
function set BuildEventContext (value : BuildEventContext)

Property Value

Type: Microsoft.Build.Framework.BuildEventContext
A BuildEventContext object representing the location contextual information.

.NET Framework Security

See Also

Reference

BuildEventArgs Class

Microsoft.Build.Framework Namespace