EventSourceExtensions.HandleTargetFinished Method
Definition
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.
Helper method ensuring single deduplicated subscription to the TargetFinished event.
public:
[System::Runtime::CompilerServices::Extension]
static void HandleTargetFinished(Microsoft::Build::Framework::IEventSource ^ eventSource, Microsoft::Build::Framework::TargetFinishedEventHandler ^ handler);
public static void HandleTargetFinished (this Microsoft.Build.Framework.IEventSource eventSource, Microsoft.Build.Framework.TargetFinishedEventHandler handler);
static member HandleTargetFinished : Microsoft.Build.Framework.IEventSource * Microsoft.Build.Framework.TargetFinishedEventHandler -> unit
<Extension()>
Public Sub HandleTargetFinished (eventSource As IEventSource, handler As TargetFinishedEventHandler)
Parameters
- eventSource
- IEventSource
- handler
- TargetFinishedEventHandler
Handler to the event. If this handler is already subscribed, single subscription will be ensured.