OperationContext.Extensions Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public IExtensionCollection<OperationContext> Extensions { get; }

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
Available since 4.0
Return to top