IComMethod2Events interface (comsvcs.h)
Notifies the subscriber if an object's method has been called, returned, or generated an exception. This interface extends the IComMethodEvents interface to provide thread information. 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 IComMethod2Events interface inherits from the IUnknown interface. IComMethod2Events also has these types of members:
Methods
The IComMethod2Events interface has these methods.
IComMethod2Events::OnMethodCall2 Generated when an object's method is called. (IComMethod2Events.OnMethodCall2) |
IComMethod2Events::OnMethodException2 Generated when an object's method generates an exception. (IComMethod2Events.OnMethodException2) |
IComMethod2Events::OnMethodReturn2 Generated when an object's method returns. (IComMethod2Events.OnMethodReturn2) |
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 |