Share via


IExtenderSite Interface

Represents the site object for an automation extender.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
<GuidAttribute("E57C510B-968B-4A3C-A467-EE4013157DC9")> _
Public Interface IExtenderSite
'Usage
Dim instance As IExtenderSite
[GuidAttribute("E57C510B-968B-4A3C-A467-EE4013157DC9")]
public interface IExtenderSite
[GuidAttribute(L"E57C510B-968B-4A3C-A467-EE4013157DC9")]
public interface class IExtenderSite
public interface IExtenderSite

Remarks

An IExtenderSite object is passed to the extender provider when it is asked to create an extender object. The extender must call the NotifyDelete method when it is being destroyed.

Warning

The extender manager maintains an internal cache of extender objects, and must be notified when they are being destroyed. You must call NotifyDelete immediately upon destroying extender objects. You must not wait for the application to become idle, because other Visual Studio components may try to access the destroyed extender object before you call the method. If this happens, Visual Studio may crash.

See Also

Reference

IExtenderSite Members

EnvDTE Namespace

Other Resources

Implementing and Using Automation Extenders