Windows Media Services SDK banner art
PreviousNext

Event Notification and Authorization Contexts

A context is an object that implements the IPropertyMap interface, which manipulates a set of data. When the encapsulated data defines a server, a user, or some content, the object is known as a server context, a user context, a presentation context, or a command context, respectively.

The server uses contexts to pass client, server, presentation, and command data to the notification and authorization components, as well as authentication components. The IPropertyMap interface supports methods for adding, removing, evaluating, and modifying the properties of name-value pairs of data. The server maintains several different contexts to describe different aspects of each server task. The following contexts are supported by the server.

Context Description
Server Contains information about the server.
User Contains information about the client.
Presentation Contains information about the media stream.
Command Contains information used by the server to describe a single command issued by the end-user. The command context itself contains two contexts, a request context and a response context.

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.