Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

InstanceContext Constructor

Initializes a new instance of the InstanceContext class for a specified object that implements the service instance.

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

public InstanceContext(
	Object implementation
)

Parameters

implementation
Type: System.Object
The object that implements the serviceinstance.

ExceptionCondition
ArgumentNullException

implementation is null.

This sets the service host associated with the instance context to null.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft