Compartilhar via


ConsoleLogger.MessageHandler(Object, BuildMessageEventArgs) Method

Definition

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Prints a message event

public:
 void MessageHandler(System::Object ^ sender, Microsoft::Build::Framework::BuildMessageEventArgs ^ e);
public void MessageHandler (object sender, Microsoft.Build.Framework.BuildMessageEventArgs e);
member this.MessageHandler : obj * Microsoft.Build.Framework.BuildMessageEventArgs -> unit
Public Sub MessageHandler (sender As Object, e As BuildMessageEventArgs)

Parameters

sender
Object

The source of the event.

e
BuildMessageEventArgs

A BuildMessageEventArgs that contains the event data.

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to