Partager via


EventSourceExtensions.HandleProjectFinished Method

Definition

Helper method ensuring single deduplicated subscription to the ProjectFinished event.

public:
[System::Runtime::CompilerServices::Extension]
 static void HandleProjectFinished(Microsoft::Build::Framework::IEventSource ^ eventSource, Microsoft::Build::Framework::ProjectFinishedEventHandler ^ handler);
public static void HandleProjectFinished (this Microsoft.Build.Framework.IEventSource eventSource, Microsoft.Build.Framework.ProjectFinishedEventHandler handler);
static member HandleProjectFinished : Microsoft.Build.Framework.IEventSource * Microsoft.Build.Framework.ProjectFinishedEventHandler -> unit
<Extension()>
Public Sub HandleProjectFinished (eventSource As IEventSource, handler As ProjectFinishedEventHandler)

Parameters

eventSource
IEventSource
handler
ProjectFinishedEventHandler

Handler to the event. If this handler is already subscribed, single subscription will be ensured.

Applies to