IExtension<T>.Attach Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Enables an extension object to find out when it has been aggregated. Called when the extension is added to the IExtensibleObject<T>.Extensions property.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Use this method to keep track of the IExtensibleObject<T> object to which the current instance of the extension belongs. This call gives extensions a chance to handle events or inspect properties of their owner.