Freigeben über


IVsPrioritizedSolutionEventsSink Interface

Definition

Sinks (event listeners) implementing this interface will get priority notification of solution events.

public interface class IVsPrioritizedSolutionEventsSink
public interface class IVsPrioritizedSolutionEventsSink
__interface IVsPrioritizedSolutionEventsSink
[System.Runtime.InteropServices.Guid("6E8674B2-EFA9-4CD6-9743-CC7A549BB0EB")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsPrioritizedSolutionEventsSink
[<System.Runtime.InteropServices.Guid("6E8674B2-EFA9-4CD6-9743-CC7A549BB0EB")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsPrioritizedSolutionEventsSink = interface
Public Interface IVsPrioritizedSolutionEventsSink
Attributes

Remarks

The event order produced by this interface is as follows:

  • OnAfter*** events will arrive before other non-prioritized sinks.

  • OnBefore*** events will arrive after other non-prioritized sinks.

For example, a background compiler may need to be started before other dependent components start using it, and it may need to shut down after the other dependent components stop using it. The background compiler can be initialized when the OnAfterBackgroundSolutionLoadComplete event is fired, so that when the other components respond to the OnAfterBackgroundSolutionLoadComplete event, the compiler is ready.

This interface is typically implemented by project systems to allow them to correctly initialize during solution load. This interface is used in conjunction with IVsPrioritizedSolutionEvents; other components should refrain from using this interface.Other components should refrain from using this interface.

In Visual Studio 2012, this interface only prioritizes IVsSolutionLoadEvents.

Applies to