IExtensibleObject<T> Interface
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Enables an object to participate in custom behavior, such as registering for events, or watching state transitions.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The IExtensibleObject<T> type exposes the following members.
Implement IExtensibleObject<T> to enable aggregation of extensions. System.ServiceModel::IContextChannel is an extensible object in Windows Phone.
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.
Capabilities
If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.
ID_CAP_NETWORKING | Windows Phone 8, Windows Phone OS 7.1 |
For more info, see App capabilities and hardware requirements for Windows Phone 8.
