ComEventsHelper.Combine(Object, Guid, Int32, Delegate) ComEventsHelper.Combine(Object, Guid, Int32, Delegate) ComEventsHelper.Combine(Object, Guid, Int32, Delegate) ComEventsHelper.Combine(Object, Guid, Int32, Delegate) Method

Definition

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

public:
 static void Combine(System::Object ^ rcw, Guid iid, int dispid, Delegate ^ d);
[System.Security.SecurityCritical]
public static void Combine (object rcw, Guid iid, int dispid, Delegate d);
static member Combine : obj * Guid * int * Delegate -> unit
Public Shared Sub Combine (rcw As Object, iid As Guid, dispid As Integer, d As Delegate)

Parameters

rcw
Object Object Object Object

The COM object that triggers the events the caller would like to respond to.

iid
Guid Guid Guid Guid

The identifier of the source interface used by the COM object to trigger events.

dispid
Int32 Int32 Int32 Int32

The dispatch identifier of the method on the source interface.

d
Delegate Delegate Delegate Delegate

The delegate to invoke when the COM event is fired.

Security

SecurityCriticalAttribute
Requires full trust for the immediate caller. This member cannot be used by partially trusted code.

Applies to