Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

ComEventsHelper Class

Note: This API is now obsolete.

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

System.Object
  System.Runtime.InteropServices.ComEventsHelper

Namespace:  System.Runtime.InteropServices
Assemblies:   System.Runtime.InteropServices (in System.Runtime.InteropServices.dll)
  mscorlib (in mscorlib.dll)

[ObsoleteAttribute("ComEventsHelper may be unavailable in future releases.")]
public static class ComEventsHelper

The ComEventsHelper type exposes the following members.

  NameDescription
Public methodStatic memberSupported by Portable Class LibraryCombineAdds a delegate to the invocation list of events originating from a COM object.
Public methodStatic memberSupported by Portable Class LibraryRemoveRemoves a delegate from the invocation list of events originating from a COM object.
Top

.NET Framework

Supported in: 4.6, 4.5, 4
Obsolete (compiler warning) in 4.6

.NET Framework Client Profile

Supported in: 4

.NET for Windows Phone apps

Obsolete (compiler warning) in Windows Phone 8.1

Portable Class Library

Supported in: Portable Class Library

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft