IMtsEvents interface (comsvcs.h)

Provides methods for obtaining information about the running package and establishing event sinks. 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 IMtsEvents interface inherits from the IDispatch interface. IMtsEvents also has these types of members:

Methods

The IMtsEvents interface has these methods.

 
IMtsEvents::get_FireEvents

Retrieves whether events are enabled or disabled for an event sink.
IMtsEvents::get_PackageGuid

Retrieves the globally unique identifier (GUID) for the package in which the event occurred.
IMtsEvents::get_PackageName

Retrieves the name of the package in which the instance of the object that implements the IMtsEvents interface is running.
IMtsEvents::GetProcessID

Retrieves the identifier of the process in which the event occurred.
IMtsEvents::PostEvent

Posts a user-defined event to an event sink.

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

COM+ Instrumentation