IVsFreeThreadedPackageLoadEvents Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This can be used with AdviseFreeThreadedPackageLoadEvents(IVsFreeThreadedPackageLoadEvents) to advise for package load events that are delievered on the thread the package load completes on. The legacy (see cref="IVsPackageLoadEvents"/>) interface always would have events delivered on the UI thread even if the package load itself was entirely on a background thread.
[System.Runtime.InteropServices.Guid("202c0d8b-6ef7-4bbd-b696-52f942aace3f")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsFreeThreadedPackageLoadEvents
[<System.Runtime.InteropServices.Guid("202c0d8b-6ef7-4bbd-b696-52f942aace3f")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsFreeThreadedPackageLoadEvents = interface
Public Interface IVsFreeThreadedPackageLoadEvents
- Attributes
Remarks
Implementations of this interface must be safe to receive callbacks from any thread.
Methods
OnPackageLoaded(Guid, IVsPackage) |