Share via


IExtenderSite Interface

Definition

Site object for an automation extender.

public interface class IExtenderSite
public interface class IExtenderSite
__interface IExtenderSite
[System.Runtime.InteropServices.Guid("E57C510B-968B-4A3C-A467-EE4013157DC9")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface IExtenderSite
[System.Runtime.InteropServices.Guid("E57C510B-968B-4A3C-A467-EE4013157DC9")]
public interface IExtenderSite
[<System.Runtime.InteropServices.Guid("E57C510B-968B-4A3C-A467-EE4013157DC9")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type IExtenderSite = interface
[<System.Runtime.InteropServices.Guid("E57C510B-968B-4A3C-A467-EE4013157DC9")>]
type IExtenderSite = interface
Public Interface IExtenderSite
Attributes

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.

Methods

GetObject(String)

Returns an interface or object that is late-bound to the DTE object and that can be accessed by name at runtime.

NotifyDelete(Int32)

Called by the automation extender to notify its site when it is being destroyed. If you fail to call this method, Visual Studio may crash.

Applies to