共用方式為


LazyFormattedBuildEventArgs Class

Definition

Stores strings for parts of a message delaying the formatting until it needs to be shown

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

Constructors

LazyFormattedBuildEventArgs()

Default constructor.

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

This constructor that allows message arguments that are lazily formatted.

LazyFormattedBuildEventArgs(String, String, String)

This constructor allows all event data to be initialized.

Fields

locker

Lock object.

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.

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