IExtension(T) Interface (System.ServiceModel)

Switch View :
ScriptFree
.NET Framework Class Library
IExtension<T> Interface

Enables an object to extend another object through aggregation.

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

Visual Basic (Declaration)
Public Interface IExtension(Of T As {Object, IExtensibleObject(Of T)})
Visual Basic (Usage)
Dim instance As IExtension(Of T)
C#
public interface IExtension<T>
where T : Object, IExtensibleObject<T>

Visual C++
generic<typename T>
where T : Object, IExtensibleObject<T>
public interface class IExtension
JScript
JScript does not support generic types or methods.

Type Parameters

T

The object that participates in the custom behavior.

Remarks

WCF allows you to extend System.ServiceModel.IExtensibleObject<T> objects (the System.ServiceModel.IContextChannel, System.ServiceModel.ServiceHost, System.ServiceModel.InstanceContext, and System.ServiceModel.OperationContext classes) by adding a new state or behavior by using its extensible object pattern. The extensible object pattern is used in WCF to either extend existing run-time classes with new functionality or to add new state features to an object.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference