다음을 통해 공유


IEventSource4 Interface

Definition

This interface defines the events raised by the build engine. Loggers use this interface to subscribe to the events they are interested in receiving.

public interface class IEventSource4 : Microsoft::Build::Framework::IEventSource3
public interface IEventSource4 : Microsoft.Build.Framework.IEventSource3
type IEventSource4 = interface
    interface IEventSource3
    interface IEventSource2
    interface IEventSource
Public Interface IEventSource4
Implements IEventSource3
Implements

Methods

IncludeEvaluationMetaprojects()

Should evaluation events include generated metaprojects?

(Inherited from IEventSource3)
IncludeEvaluationProfiles()

Should evaluation events include profiling information?

(Inherited from IEventSource3)
IncludeEvaluationPropertiesAndItems()

Determines whether properties and items should be logged on ProjectEvaluationFinishedEventArgs instead of ProjectStartedEventArgs.

IncludeTaskInputs()

Should task events include task inputs?

(Inherited from IEventSource3)

Events

AnyEventRaised

this event is raised to log any build event. These events do not include telemetry. To receive telemetry, you must attach to the TelemetryLogged event.

(Inherited from IEventSource)
BuildFinished

this event is raised to log the end of a build

(Inherited from IEventSource)
BuildStarted

this event is raised to log the start of a build

(Inherited from IEventSource)
CustomEventRaised

this event is raised to log custom events

(Inherited from IEventSource)
ErrorRaised

this event is raised to log an error

(Inherited from IEventSource)
MessageRaised

this event is raised to log a message

(Inherited from IEventSource)
ProjectFinished

this event is raised to log the end of a project build

(Inherited from IEventSource)
ProjectStarted

this event is raised to log the start of a project build

(Inherited from IEventSource)
StatusEventRaised

this event is raised to log any build status event

(Inherited from IEventSource)
TargetFinished

this event is raised to log the end of a target build

(Inherited from IEventSource)
TargetStarted

this event is raised to log the start of a target build

(Inherited from IEventSource)
TaskFinished

this event is raised to log the end of task execution

(Inherited from IEventSource)
TaskStarted

this event is raised to log the start of task execution

(Inherited from IEventSource)
TelemetryLogged

this event is raised to when telemetry is logged.

(Inherited from IEventSource2)
WarningRaised

this event is raised to log a warning

(Inherited from IEventSource)

Extension Methods

HandleAnyEventRaised(IEventSource, AnyEventHandler)

Helper method ensuring single deduplicated subscription to the AnyEventRaised event.

HandleBuildFinished(IEventSource, BuildFinishedEventHandler)

Helper method ensuring single deduplicated subscription to the BuildFinished event.

HandleBuildStarted(IEventSource, BuildStartedEventHandler)

Helper method ensuring single deduplicated subscription to the BuildStarted event.

HandleCustomEventRaised(IEventSource, CustomBuildEventHandler)

Helper method ensuring single deduplicated subscription to the CustomEventRaised event.

HandleErrorRaised(IEventSource, BuildErrorEventHandler)

Helper method ensuring single deduplicated subscription to the ErrorRaised event.

HandleMessageRaised(IEventSource, BuildMessageEventHandler)

Helper method ensuring single deduplicated subscription to the MessageRaised event.

HandleProjectFinished(IEventSource, ProjectFinishedEventHandler)

Helper method ensuring single deduplicated subscription to the ProjectFinished event.

HandleProjectStarted(IEventSource, ProjectStartedEventHandler)

Helper method ensuring single deduplicated subscription to the ProjectStarted event.

HandleStatusEventRaised(IEventSource, BuildStatusEventHandler)

Helper method ensuring single deduplicated subscription to the StatusEventRaised event.

HandleTargetFinished(IEventSource, TargetFinishedEventHandler)

Helper method ensuring single deduplicated subscription to the TargetFinished event.

HandleTargetStarted(IEventSource, TargetStartedEventHandler)

Helper method ensuring single deduplicated subscription to the TargetStarted event.

HandleTaskFinished(IEventSource, TaskFinishedEventHandler)

Helper method ensuring single deduplicated subscription to the TaskFinished event.

HandleTaskStarted(IEventSource, TaskStartedEventHandler)

Helper method ensuring single deduplicated subscription to the TaskStarted event.

HandleWarningRaised(IEventSource, BuildWarningEventHandler)

Helper method ensuring single deduplicated subscription to the WarningRaised event.

Applies to