ConsoleLogger.ErrorHandler(Object, BuildErrorEventArgs) Method
Important
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 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)
- sender
- Object
The source of the event.
A BuildErrorEventArgs that contains the event data.
Advertencia
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