ISendMethodEvents interface (comsvcs.h)

Describes an event class that notifies subscribers whenever a method on the object that implements it either is called or returns from a call. The events are published to the subscriber using the COM+ Events service, a loosely coupled events system that stores event information from different publishers in an event store in the COM+ catalog.

Inheritance

The ISendMethodEvents interface inherits from the IUnknown interface. ISendMethodEvents also has these types of members:

Methods

The ISendMethodEvents interface has these methods.

 
ISendMethodEvents::SendMethodCall

Generated when a method is called through a component interface.
ISendMethodEvents::SendMethodReturn

Generated when a method called through a component interface returns control to the caller.

Remarks

To send method events to the COM+ tracker property, you need to obtain a handle to it and you need to obtain its GUID, which is defined as follows.

GUID guidTrkPropPolicy = {0xecabaeb3, 0x7f19, 0x11d2, {0x97, 0x8e, 0x00, 0x00, 0xf8, 0x75, 0x7e, 0x2a}}

To obtain a handle to the COM+ tracker property, call the IContext::GetProperty method with the rGuid argument set equal to this GUID.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

COM+ Events