Enables an object to extend another object through aggregation.
Namespace:
System.ServiceModel
Assembly:
System.ServiceModel (in System.ServiceModel.dll)
Visual Basic (Declaration)
Public Interface IExtension(Of T As {Object, IExtensibleObject(Of T)})
Dim instance As IExtension(Of T)
public interface IExtension<T>
where T : Object, IExtensibleObject<T>
generic<typename T>
where T : Object, IExtensibleObject<T>
public interface class IExtension
JScript does not support generic types or methods.
Type Parameters
- T
The object that participates in the custom behavior.
WCF allows you to extend System.ServiceModel..::.IExtensibleObject<(Of <(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.
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.
.NET Framework
Supported in: 3.5, 3.0
Reference