IWMSCommandContext Object (C#)

The command context contains name-value pairs that describe a request issued by a client and the response issued by the server. Each line in either a request or response header receives an entry in the command context. The IWMSCommandContext object provides methods for retrieving or deleting the request and response.

Note

   This object is available only on Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; and Windows Server 2008.

The IWMSCommandContext object exposes the following properties and methods.

Method

Description

EraseCommandRequest

Deletes a client request by erasing all of the name-value pairs in the command context.

EraseCommandResponse

Deletes a server response by erasing all of the name-value pairs in the command context.

GetCommandRequest

Retrieves an IWMSContextIWMSContext Object (C#) containing a command context. You can use the object to retrieve name-value pairs that describe a client request.

GetCommandResponse

Retrieves an IWMSContext object containing a command context. You can use the object to retrieve name-value pairs that describe a server response.

GetPlaylistGenerationId

Reserved for internal use.

SetPlaylistGenerationId

Reserved for internal use.

See Also

Concepts

Custom Plug-in Objects (C#)