Provides access to the execution context of a service method.
Public NotInheritable Class OperationContext
Dim instance As OperationContext
public sealed class OperationContext
Use the OperationContext from within a service operation to access the current operation execution environment. In particular, the operation context is used to access incoming message headers and properties as well as add outgoing message headers and properties.
The OperationContext has the following properties and methods.
The Current property returns the OperationContext object that represents the current execution context.
The IncomingMessageHeaders, IncomingMessageProperties, and IncomingMessageVersion properties get these items from the incoming message.
The OutgoingMessageHeaders and OutgoingMessageProperties properties get these items for the outbound message.
The RequestContext property returns the RequestContext implementation for the method.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.