IEventSubscription interface

Specifies information about the relationship between an event subscriber and an event to which it is subscribing. It is used by publisher filters.

Methods

The IEventSubscription interface has these methods.

Method Description
IEventSubscription::get_Description A displayable text description of the subscription.
IEventSubscription::get_Enabled Indicates whether the subscription is enabled.
IEventSubscription::get_EventClassID The unique ID of the event class associated with the subscription.
IEventSubscription::get_InterfaceID The identifier for a particular interface for which the subscriber wants to receive events.
IEventSubscription::get_MachineName The name of the computer on which the subscriber should be activated (for a persistent subscription).
IEventSubscription::get_MethodName The name of the event method.
IEventSubscription::get_OwnerSID The security ID of the subscription's creator.
IEventSubscription::get_PerUser Indicates whether the subscription receives the event only if the owner of the subscription is logged on to the same computer as the publisher.
IEventSubscription::get_PublisherID The unique ID of the event publisher.
IEventSubscription::get_SubscriberCLSID The CLSID of the subscriber component (for a persistent subscription).
IEventSubscription::get_SubscriberInterface A marshaled pointer to the event interface on the subscriber (for a transient subscription).
IEventSubscription::get_SubscriptionID The unique ID for the subscription object.
IEventSubscription::get_SubscriptionName A displayable name for the subscription object.
IEventSubscription::GetPublisherProperty Retrieves the value of a property stored in the property bag to define publisher context.
IEventSubscription::GetPublisherPropertyCollection Retrieves a collection of properties and values stored in the publisher property bag.
IEventSubscription::GetSubscriberProperty Retrieves the value of a property stored in the property bag to define subscriber context.
IEventSubscription::GetSubscriberPropertyCollection Retrieves a collection of properties and values stored in the subscriber property bag.
IEventSubscription::put_Description A displayable text description of the subscription.
IEventSubscription::put_Enabled Indicates whether the subscription is enabled.
IEventSubscription::put_EventClassID The unique ID of the event class associated with the subscription.
IEventSubscription::put_InterfaceID The identifier for a particular interface for which the subscriber wants to receive events.
IEventSubscription::put_MachineName The name of the computer on which the subscriber should be activated (for a persistent subscription).
IEventSubscription::put_MethodName The name of the event method.
IEventSubscription::put_OwnerSID The security ID of the subscription's creator.
IEventSubscription::put_PerUser Indicates whether the subscription receives the event only if the owner of the subscription is logged on to the same computer as the publisher.
IEventSubscription::put_PublisherID The unique ID of the event publisher.
IEventSubscription::put_SubscriberCLSID The CLSID of the subscriber component (for a persistent subscription).
IEventSubscription::put_SubscriberInterface A marshaled pointer to the event interface on the subscriber (for a transient subscription).
IEventSubscription::put_SubscriptionID The unique ID for the subscription object.
IEventSubscription::put_SubscriptionName A displayable name for the subscription object.
IEventSubscription::PutPublisherProperty Writes a property and its value to the property bag to define publisher context.
IEventSubscription::PutSubscriberProperty Writes a property and its value to the property bag to define subscriber context.
IEventSubscription::RemovePublisherProperty Removes a property and its value from the property bag that defines publisher context.
IEventSubscription::RemoveSubscriberProperty Removes a property and its value from the property bag that defines subscriber context.

Requirements

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