اقرأ باللغة الإنجليزية تحرير

مشاركة عبر


ComEventsHelper Class

Definition

Caution

ComEventsHelper may be unavailable in future releases.

Provides methods that enable .NET delegates that handle events to be added and removed from COM objects.

C#
[System.Obsolete("ComEventsHelper may be unavailable in future releases.")]
public static class ComEventsHelper
C#
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public static class ComEventsHelper
C#
public static class ComEventsHelper
Inheritance
ComEventsHelper
Attributes

Methods

Combine(Object, Guid, Int32, Delegate)

Adds a delegate to the invocation list of events originating from a COM object.

Remove(Object, Guid, Int32, Delegate)

Removes a delegate from the invocation list of events originating from a COM object.

Applies to

منتج الإصدارات (قديم)
.NET 5, 6, 7, 8, 9, 10 (Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1)
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 1.1, 2.0 (1.2, 1.3, 1.4, 1.5, 1.6, 2.1)
UWP (10.0)