Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

OperationContext::InstanceContext Property

 

Gets the InstanceContext object that manages the current service instance.

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

public:
property InstanceContext^ InstanceContext {
	InstanceContext^ get();
}

Property Value

Type: System.ServiceModel::InstanceContext^

The InstanceContext object for the current service.

Use the InstanceContext property to access the run-time object that manages the current service object.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft