Table of Contents

Interface IDispatchEventHandler

Namespace
CsCom.Runtime
Assembly
CsCom.Runtime.dll

Handles the events that a COM object raises through IDispatch::Invoke.

public interface IDispatchEventHandler

Methods

Invoke(int, EventArguments)

Handles an event.

bool Invoke(int dispId, EventArguments arguments)

Parameters

dispId int

The dispatch identifier of the event.

arguments EventArguments

The arguments and the result of the event.

Returns

bool

false if the event is unknown; the invocation then fails with DISP_E_MEMBERNOTFOUND.