共用方式為


BuildStatusEventArgs Class

Definition

Base class for build status events. This class is meant to be extended.

public ref class BuildStatusEventArgs abstract : Microsoft::Build::Framework::LazyFormattedBuildEventArgs
public ref class BuildStatusEventArgs abstract : Microsoft::Build::Framework::BuildEventArgs
[System.Serializable]
public abstract class BuildStatusEventArgs : Microsoft.Build.Framework.LazyFormattedBuildEventArgs
[System.Serializable]
public abstract class BuildStatusEventArgs : Microsoft.Build.Framework.BuildEventArgs
[<System.Serializable>]
type BuildStatusEventArgs = class
    inherit LazyFormattedBuildEventArgs
[<System.Serializable>]
type BuildStatusEventArgs = class
    inherit BuildEventArgs
Public MustInherit Class BuildStatusEventArgs
Inherits LazyFormattedBuildEventArgs
Public MustInherit Class BuildStatusEventArgs
Inherits BuildEventArgs
Inheritance
Inheritance
BuildStatusEventArgs
Derived
Attributes

Remarks

WARNING: marking a type [Serializable] without implementing ISerializable imposes a serialization contract -- it is a promise to never change the type's fields i.e. the type is immutable; adding new fields in the next version of the type without following certain special FX guidelines, can break both forward and backward compatibility

Constructors

BuildStatusEventArgs()

Default constructor

BuildStatusEventArgs(String, String, String)

This constructor allows event data to be initialized.

BuildStatusEventArgs(String, String, String, DateTime)

This constructor allows timestamp to be set

BuildStatusEventArgs(String, String, String, DateTime, Object[])

This constructor allows timestamp to be set

Fields

locker

Lock object.

(Inherited from LazyFormattedBuildEventArgs)

Properties

BuildEventContext

Event contextual information for the build event argument

(Inherited from BuildEventArgs)
HelpKeyword

Custom help keyword associated with event.

(Inherited from BuildEventArgs)
Message

Gets the formatted message.

(Inherited from LazyFormattedBuildEventArgs)
Message

Text of event.

(Inherited from BuildEventArgs)
RawMessage

Exposes the underlying message field without side-effects. Used for serialization.

(Inherited from BuildEventArgs)
RawTimestamp

Exposes the private timestamp field to derived types. Used for serialization. Avoids the side effects of calling the Timestamp getter.

(Inherited from BuildEventArgs)
SenderName

Name of the object sending this event.

(Inherited from BuildEventArgs)
ThreadId

The thread that raised event.

(Inherited from BuildEventArgs)
Timestamp

The time when event was raised.

(Inherited from BuildEventArgs)

Applies to