ComEventsHelper::Combine Method (Object^, Guid, Int32, Delegate^)
.NET Framework (current version)
Adds a delegate to the invocation list of events originating from a COM object.
Assembly: mscorlib (in mscorlib.dll)
public: [SecurityCriticalAttribute] static void Combine( Object^ rcw, Guid iid, int dispid, Delegate^ d )
Parameters
- rcw
-
Type:
System::Object^
The COM object that triggers the events the caller would like to respond to.
- iid
-
Type:
System::Guid
The identifier of the source interface used by the COM object to trigger events.
- dispid
-
Type:
System::Int32
The dispatch identifier of the method on the source interface.
- d
-
Type:
System::Delegate^
The delegate to invoke when the COM event is fired.
SecurityCriticalAttribute
Requires full trust for the immediate caller. This member cannot be used by partially trusted code.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: