OperationContext.Extensions Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public ReadOnly Property Extensions As IExtensionCollection(Of OperationContext)
public IExtensionCollection<OperationContext> Extensions { get; }

Property Value

Type: System.ServiceModel.IExtensionCollection<OperationContext>
A collection of OperationContext extension objects.

Implements

IExtensibleObject<T>.Extensions

Remarks

Use the Extensions property to obtain a collection of all the OperationContext extensions used to modify the context or add custom state.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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