Partager via


BuildStatusEventArgs Class

Provides data for the StatusEventRaised event.

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.

Inheritance Hierarchy

System.Object
  EventArgs
    Microsoft.Build.Framework.BuildEventArgs
      Microsoft.Build.Framework.LazyFormattedBuildEventArgs
        Microsoft.Build.Framework.BuildStatusEventArgs
          More...

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

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class BuildStatusEventArgs _
    Inherits LazyFormattedBuildEventArgs
[SerializableAttribute]
public abstract class BuildStatusEventArgs : LazyFormattedBuildEventArgs
[SerializableAttribute]
public ref class BuildStatusEventArgs abstract : public LazyFormattedBuildEventArgs
[<AbstractClass>]
[<SerializableAttribute>]
type BuildStatusEventArgs =  
    class 
        inherit LazyFormattedBuildEventArgs 
    end
public abstract class BuildStatusEventArgs extends LazyFormattedBuildEventArgs

The BuildStatusEventArgs type exposes the following members.

Constructors

  Name Description
Protected method BuildStatusEventArgs() Initializes a new instance of the BuildStatusEventArgs class.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.
Protected method BuildStatusEventArgs(String, String, String) Initializes a new instance of the BuildStatusEventArgs class with the specified Message, HelpKeyword, and SenderName values.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.
Protected method BuildStatusEventArgs(String, String, String, DateTime) Initializes a new instance of the BuildStatusEventArgs class with the specified Message, HelpKeyword, and SenderName and TimeStamp values.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.
Protected method BuildStatusEventArgs(String, String, String, DateTime, array<Object[]) Initializes a new instance of the BuildStatusEventArgs class with the specified Message, HelpKeyword, and SenderName and TimeStamp and Message values.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.

Top

Properties

  Name Description
Public property BuildEventContext 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. (Inherited from BuildEventArgs.)
Public property HelpKeyword Gets the Help keyword for the event.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. (Inherited from BuildEventArgs.)
Public property Message Gets the formatted message.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. (Inherited from LazyFormattedBuildEventArgs.)
Public property SenderName Gets the name of the Object raising the event.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. (Inherited from BuildEventArgs.)
Public property ThreadId Gets an integer identifier for the thread that raised the event.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. (Inherited from BuildEventArgs.)
Public property Timestamp Gets the time the event was raised as a DateTime.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. (Inherited from BuildEventArgs.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

The BuildStatusEventArgs class is an abstract base class for all Microsoft.Build.Framework status event argument classes.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Build.Framework Namespace

Inheritance Hierarchy

System.Object
  EventArgs
    Microsoft.Build.Framework.BuildEventArgs
      Microsoft.Build.Framework.LazyFormattedBuildEventArgs
        Microsoft.Build.Framework.BuildStatusEventArgs
          Microsoft.Build.Framework.BuildFinishedEventArgs
          Microsoft.Build.Framework.BuildStartedEventArgs
          Microsoft.Build.Framework.ProjectFinishedEventArgs
          Microsoft.Build.Framework.ProjectStartedEventArgs
          Microsoft.Build.Framework.TargetFinishedEventArgs
          Microsoft.Build.Framework.TargetStartedEventArgs
          Microsoft.Build.Framework.TaskFinishedEventArgs
          Microsoft.Build.Framework.TaskStartedEventArgs