ComEventsHelper Class

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
Assembly:  mscorlib (in mscorlib.dll)

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

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

Obsolete (compiler warning) in Windows Phone 8.1

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