共用方式為


ConsoleLogger.CustomEventHandler(Object, CustomBuildEventArgs) 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 custom event

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

Parameters

sender
Object

The source of the event.

e
CustomBuildEventArgs

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