IEventControl interface (eventsys.h)

Controls the behavior of an event object, the object that fires an event to its subscribers.

The IEventControl interface differs from the IMultiInterfaceEventControl interface in that it supports only one interface for the event object.

Inheritance

The IEventControl interface inherits from the IDispatch interface. IEventControl also has these types of members:

Methods

The IEventControl interface has these methods.

 
IEventControl::get_AllowInprocActivation

Indicates whether subscribers can be activated in the publisher's process. (IEventControl.get_AllowInprocActivation)
IEventControl::GetSubscriptions

Retrieves the collection of subscriptions associated with an event method.
IEventControl::put_AllowInprocActivation

Indicates whether subscribers can be activated in the publisher's process. (IEventControl.put_AllowInprocActivation)
IEventControl::SetDefaultQuery

Sets the default query to determine subscribers.
IEventControl::SetPublisherFilter

Assigns a publisher filter to an event method.

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 eventsys.h