TypeInfrastructureManager.Dispose Method
This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.
Releases all resources used by the TypeInfrastructureManager.
Namespace: Microsoft.VisualStudio.Tools.Applications
Assembly: Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)
Syntax
'Declaration
Public Sub Dispose
'Usage
Dim instance As TypeInfrastructureManager
instance.Dispose()
public void Dispose()
public:
virtual void Dispose() sealed
public final function Dispose()
Implements
Remarks
This method is used internally by Visual Studio Tools for Applications to release all resources held by any managed objects that this TypeInfrastructureManager references.
If you implement a custom add-in pipeline that uses the TypeInfrastructureManager class, call the Dispose method to properly release resources used by each TypeInfrastructureManager object.
See Also
Reference
TypeInfrastructureManager Class
TypeInfrastructureManager Members
Microsoft.VisualStudio.Tools.Applications Namespace
Other Resources
Understanding the Add-in Pipeline in Visual Studio Tools for Applications