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

แชร์ผ่าน


EventSourceExtensions.HandleWarningRaised Method

Definition

Helper method ensuring single deduplicated subscription to the WarningRaised event.

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

Parameters

eventSource
IEventSource
handler
BuildWarningEventHandler

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

Applies to

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