Provides access to the execution context of a service method.
Namespace:
System.ServiceModel
Assembly:
System.ServiceModel (in System.ServiceModel.dll)
Visual Basic (Declaration)
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.
System..::.Object
System.ServiceModel..::.OperationContext
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Reference