Enables an object to extend another object through aggregation.
Assemblies: System.ServiceModel (in System.ServiceModel.dll)
System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)
Thetype exposes the following members.
|Attach||Enables an extension object to find out when it has been aggregated. Called when the extension is added to the IExtensibleObject<T>.Extensions property.|
|Detach||Enables an object to find out when it is no longer aggregated. Called when an extension is removed from the IExtensibleObject<T>.Extensions property.|
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.