Event Args Class
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.
This class encapsulates the default data associated with build events. It is intended to be extended/sub-classed.
public ref class BuildEventArgs abstract : EventArgs
[System.Serializable] public abstract class BuildEventArgs : EventArgs
[<System.Serializable>] type BuildEventArgs = class inherit EventArgs
Public MustInherit Class BuildEventArgs Inherits EventArgs
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
|BuildEventArgs(String, String, String)||
This constructor allows all event data to be initialized
|BuildEventArgs(String, String, String, DateTime)||
This constructor allows all event data to be initialized while providing a custom timestamp.
Event contextual information for the build event argument
Custom help keyword associated with event.
Text of event.
Exposes the underlying message field without side-effects. Used for serialization.
Exposes the private Microsoft.Build.Framework.BuildEventArgs.timestamp field to derived types. Used for serialization. Avoids the side effects of calling the Timestamp getter.
Name of the object sending this event.
The thread that raised event.
The time when event was raised.