OperationContextScope Constructor (OperationContext)
Collapse the table of content
Expand the table of content

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.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

'Declaration
Public Sub New ( _
	context As OperationContext _
)

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft