This documentation is archived and is not being maintained.

IExtensibleObject<T> Interface

Enable an object to participate in custom behavior, such as registering for events, or watching state transitions.

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

public interface IExtensibleObject<T>
where T : Object, IExtensibleObject<T>

Type Parameters

T

The type of the extension class.

Implement IExtensibleObject<T> to enable aggregation of extensions.

For example, if you are implementing a TreeNode class and want to allow external code to add annotations and methods to some instances of TreeNode, you can have TreeNode implement IExtensibleObject<TreeNode>. This enables code that uses TreeNode to add objects that implement IExtensibleObject<TreeNode> to the Extensions collection.

There are four extensible objects in Windows Communication Foundation (WCF):

For a discussion about how to create extension to work with these objects, see Extensible Objects.

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
Show: