Partilhar via


ConsoleLogger.ErrorHandler(Object, BuildErrorEventArgs) 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 an error event

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

Parameters

sender
Object

The source of the event.

e
BuildErrorEventArgs

A BuildErrorEventArgs 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