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::Extensions Property

 

Gets the collection of service extensions from the current message context.

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

public:
property IExtensionCollection<OperationContext^>^ Extensions {
	virtual IExtensionCollection<OperationContext^>^ get() sealed;
}

Property Value

Type: System.ServiceModel::IExtensionCollection<OperationContext^>^

A collection of extensions of OperationContext.

Use the Extensions property to obtain a collection of all extensions of the OperationContext used to modify the context or add custom state. For more information about extensions, see Extensible Objects.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show:
© 2017 Microsoft