อ่านในภาษาอังกฤษ

แชร์ผ่าน


EventSourceExtensions.HandleBuildFinished Method

Definition

Helper method ensuring single deduplicated subscription to the BuildFinished event.

C#
public static void HandleBuildFinished(this Microsoft.Build.Framework.IEventSource eventSource, Microsoft.Build.Framework.BuildFinishedEventHandler handler);

Parameters

eventSource
IEventSource
handler
BuildFinishedEventHandler

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

Applies to

ผลิตภัณฑ์ เวอร์ชัน
MSBuild 17
MSBuild (.NET Core) 17