OperationContextScope Constructor (OperationContext)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the OperationContextScope class to create a scope for the specified OperationContext object.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- context
- Type: System.ServiceModel.OperationContext
The active OperationContext in the created scope.
Use the OperationContextScope constructor to create a code block within which the specified OperationContextScope object is the current scope.
Show: