GetWatcher Method

Retrieves the appropriate interface for events.


watcher = object.GetWatcher(scope, mask)


scope Required. A FEEDS_EVENTS_SCOPE value that limits the extent of events notifications to be received.
mask Required. A combination of FEEDS_EVENTS_MASK values that specify the source of events.

Return Value

Object that receives the event callback.


The mask parameter must be appropriate for the object. A watcher for folder events is available to folder objects only; requesting a folder events watcher from a feed object returns an error.

Applies To

Feed, FeedFolder

See Also

Events in the Windows RSS Platform