SolutionEvents Class

 

A wrapper for IVsSolutionEvents that is easy to use in managed code.

Namespace:   Microsoft.VisualStudio.Shell.Events
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)


public ref class SolutionEvents : SingletonEventSource<SolutionEvents^>, 
	IVsSolutionEvents, IVsSolutionEvents2, IVsSolutionEvents3, IVsSolutionEvents4, 
	IVsSolutionEvents5, IVsSolutionLoadEvents

NameDescription
System_CAPS_pubmethodSolutionEvents()

Instantiates a new instance of SolutionEvents.

NameDescription
System_CAPS_protpropertyIsAdvised

(Inherited from EventSource.)

NameDescription
System_CAPS_protmethodAddHandler(Delegate^, String^)

Adds an event handler for the specified key(Inherited from EventSource.)

System_CAPS_protmethodAdvise()

Advises solution events when the first event sink is added. This method is guaranteed to be called on the UI thread, so no synchronization is required.(Overrides EventSource::Advise().)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodGetHandler(String^)

Gets the handler for the given key, or null if none exists.(Inherited from EventSource.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodHasHandler(String^)

Determines whether the event identified by the specified key has at least one handler.(Inherited from EventSource.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodRaiseEvent<TEventArgs>(Object^, TEventArgs, String^)

Raises the specified event. All event handlers are called, regardless of whether an individual handler throws an exception.(Inherited from EventSource.)

System_CAPS_protmethodRemoveHandler(Delegate^, String^)

Removes an event handler for the event specified by key.(Inherited from EventSource.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_protmethodUnadvise()

Unadvises solution events when the last event sink is removed. this method is guaranteed to be called on the UI thread, so no synchronization is required.(Overrides EventSource::Unadvise().)

NameDescription
System_CAPS_pubeventSystem_CAPS_staticOnAfterAsynchOpenProject

Occurs on/after the project is loaded asynchronously.

System_CAPS_pubeventSystem_CAPS_staticOnAfterBackgroundSolutionLoadComplete

Occurs on/after the solution is finished loading in the background.

System_CAPS_pubeventSystem_CAPS_staticOnAfterChangeProjectParent

Occurs on/after the project has changed parents.

System_CAPS_pubeventSystem_CAPS_staticOnAfterCloseSolution

Occurs on/after the solution is closed.

System_CAPS_pubeventSystem_CAPS_staticOnAfterClosingChildren

Occurs on/after the solution's children have changed.

System_CAPS_pubeventSystem_CAPS_staticOnAfterLoadProject

Occurs on/after the project is loaded.

System_CAPS_pubeventSystem_CAPS_staticOnAfterLoadProjectBatch

Occurs on/after the project is batch loaded.

System_CAPS_pubeventSystem_CAPS_staticOnAfterMergeSolution

Occurs on/after the solution is merged.

System_CAPS_pubeventSystem_CAPS_staticOnAfterOpeningChildren

lOccurs on/after the solution's children are open.

System_CAPS_pubeventSystem_CAPS_staticOnAfterOpenProject

Occurs on/after the project is open.

System_CAPS_pubeventSystem_CAPS_staticOnAfterOpenSolution

Occurs on/after the solution is open.

System_CAPS_pubeventSystem_CAPS_staticOnAfterRenameProject

Occurs on/after the project is renamed.

System_CAPS_pubeventSystem_CAPS_staticOnBeforeBackgroundSolutionLoadBegins

Occurs on/before the solution begins to be loaded in the background.

System_CAPS_pubeventSystem_CAPS_staticOnBeforeCloseProject

Occurs on/before the project is closed.

System_CAPS_pubeventSystem_CAPS_staticOnBeforeCloseSolution

Occurs on/before the solution is closed.

System_CAPS_pubeventSystem_CAPS_staticOnBeforeClosingChildren

Occurs on/before the solution's children are closed.

System_CAPS_pubeventSystem_CAPS_staticOnBeforeLoadProjectBatch

Occurs on/before the project is batch loaded.

System_CAPS_pubeventSystem_CAPS_staticOnBeforeOpeningChildren

Occurs on/before the solution's children are open.

System_CAPS_pubeventSystem_CAPS_staticOnBeforeOpenProject

Occurs on/before the project is open.

System_CAPS_pubeventSystem_CAPS_staticOnBeforeOpenSolution

Occurs on/before the solution is open.

System_CAPS_pubeventSystem_CAPS_staticOnBeforeUnloadProject

Occurs on/before the project is unloaded.

System_CAPS_pubeventSystem_CAPS_staticOnQueryBackgroundLoadProjectBatch

Occurs when there is a query about batch loading the project in the background.

System_CAPS_pubeventSystem_CAPS_staticOnQueryChangeProjectParent

Occurs when there is a query about changing the project's parent.

System_CAPS_pubeventSystem_CAPS_staticOnQueryCloseProject

Occurs when there is a query about closing the project.

System_CAPS_pubeventSystem_CAPS_staticOnQueryCloseSolution

Occurs when there is a query about closing the solution.

System_CAPS_pubeventSystem_CAPS_staticOnQueryUnloadProject

Occurs when there is a query about unloading the project.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents::OnAfterCloseSolution(Object^)

Occurs on/after the solution is closed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents::OnAfterLoadProject(IVsHierarchy^, IVsHierarchy^)

Occurs on/after the project is loaded.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents::OnAfterOpenProject(IVsHierarchy^, Int32)

Occurs on/after the project is open

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents::OnAfterOpenSolution(Object^, Int32)

Occurs on/after the solution is open.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents::OnBeforeCloseProject(IVsHierarchy^, Int32)

Occurs on/before the project is closed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents::OnBeforeCloseSolution(Object^)

Occurs on/before the solution is closed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents::OnBeforeUnloadProject(IVsHierarchy^, IVsHierarchy^)

Occurs on/before the project is unloaded.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents::OnQueryCloseProject(IVsHierarchy^, Int32, Int32)

Occurs when there is a query about closing the project.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents::OnQueryCloseSolution(Object^, Int32)

Occurs when there is a query about closing the solution.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents::OnQueryUnloadProject(IVsHierarchy^, Int32)

Occurs when there is a query about unloading the project.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents2::OnAfterCloseSolution(Object^)

Occurs on/after the solution is closed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents2::OnAfterLoadProject(IVsHierarchy^, IVsHierarchy^)

Occurs on/after the project is loaded.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents2::OnAfterMergeSolution(Object^)

Occurs on/after a solution is merged.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents2::OnAfterOpenProject(IVsHierarchy^, Int32)

Occurs on/after the project is opened.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents2::OnAfterOpenSolution(Object^, Int32)

Occurs on/after the solution is open.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents2::OnBeforeCloseProject(IVsHierarchy^, Int32)

Occurs on/before the project is closed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents2::OnBeforeCloseSolution(Object^)

Occurs on/before the solution is closed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents2::OnBeforeUnloadProject(IVsHierarchy^, IVsHierarchy^)

Occurs on/before the project is unloaded.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents2::OnQueryCloseProject(IVsHierarchy^, Int32, Int32)

Occurs when there is a query about closing the project.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents2::OnQueryCloseSolution(Object^, Int32)

Occurs when there is a query about closing the solution.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents2::OnQueryUnloadProject(IVsHierarchy^, Int32)

Occurs when there is a query about unloading the project.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents3::OnAfterCloseSolution(Object^)

Occurs on/after the solution is closed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents3::OnAfterClosingChildren(IVsHierarchy^)

Occurs on/after the solution's children are closed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents3::OnAfterLoadProject(IVsHierarchy^, IVsHierarchy^)

Occurs on/after the project is loaded.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents3::OnAfterMergeSolution(Object^)

Occurs on/after the solution is merged.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents3::OnAfterOpeningChildren(IVsHierarchy^)

Occurs on/after the solution's children are opened.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents3::OnAfterOpenProject(IVsHierarchy^, Int32)

Occurs on/after the project is open.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents3::OnAfterOpenSolution(Object^, Int32)

Occurs on/after the solution is open.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents3::OnBeforeCloseProject(IVsHierarchy^, Int32)

Occurs on/before the project is closed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents3::OnBeforeCloseSolution(Object^)

Occurs on/before the solution is closed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents3::OnBeforeClosingChildren(IVsHierarchy^)

Occurs on/before the solution's children are closed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents3::OnBeforeOpeningChildren(IVsHierarchy^)

Occurs on/before the children are opened.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents3::OnBeforeUnloadProject(IVsHierarchy^, IVsHierarchy^)

Occurs on/before the project is unloaded.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents3::OnQueryCloseProject(IVsHierarchy^, Int32, Int32)

Occurs when there is a query about closing the project.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents3::OnQueryCloseSolution(Object^, Int32)

Occurs when there is a query about closing the solution.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents3::OnQueryUnloadProject(IVsHierarchy^, Int32)

Occurs when there is a query about unloading a project.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents4::OnAfterAsynchOpenProject(IVsHierarchy^, Int32)

Occurs on/after a project is opened asynchronously.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents4::OnAfterChangeProjectParent(IVsHierarchy^)

Occurs on/after the project has changed parents.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents4::OnAfterRenameProject(IVsHierarchy^)

Occurs on/after the project was renamed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents4::OnQueryChangeProjectParent(IVsHierarchy^, IVsHierarchy^, Int32)

Occurs when there is a query about changing the project's parent.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionEvents5::OnBeforeOpenProject(Guid, Guid, String^)

Occurs on/before the project is open.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionLoadEvents::OnAfterBackgroundSolutionLoadComplete()

Occurs on/after the solution is finished loading in the background.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionLoadEvents::OnAfterLoadProjectBatch(Boolean)

Occurs on/after the project is batch loaded.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionLoadEvents::OnBeforeBackgroundSolutionLoadBegins()

Occurs on/before beginning a background solution load.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionLoadEvents::OnBeforeLoadProjectBatch(Boolean)

Occurs on/before the project is batch loaded.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionLoadEvents::OnBeforeOpenSolution(String^)

Occurs on/before the solution is open.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsSolutionLoadEvents::OnQueryBackgroundLoadProjectBatch(Boolean)

Occurs when there is a query about batch loading a project in the background.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: