SolutionEvents Class
A wrapper for IVsSolutionEvents that is easy to use in managed code.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Microsoft.VisualStudio.Shell.Events::EventSource
Microsoft.VisualStudio.Shell.Events::SingletonEventSource<TDerived>
Microsoft.VisualStudio.Shell.Events::SolutionEvents
| Name | Description | |
|---|---|---|
![]() | SolutionEvents() | Instantiates a new instance of SolutionEvents. |
| Name | Description | |
|---|---|---|
![]() | IsAdvised | (Inherited from EventSource.) |
| Name | Description | |
|---|---|---|
![]() | AddHandler(Delegate^, String^) | Adds an event handler for the specified key(Inherited from EventSource.) |
![]() | Advise() | 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().) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHandler(String^) | Gets the handler for the given key, or null if none exists.(Inherited from EventSource.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | HasHandler(String^) | Determines whether the event identified by the specified key has at least one handler.(Inherited from EventSource.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | RaiseEvent<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.) |
![]() | RemoveHandler(Delegate^, String^) | Removes an event handler for the event specified by key.(Inherited from EventSource.) |
![]() | ToString() | (Inherited from Object.) |
![]() | Unadvise() | 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().) |
| Name | Description | |
|---|---|---|
![]() ![]() | OnAfterAsynchOpenProject | Occurs on/after the project is loaded asynchronously. |
![]() ![]() | OnAfterBackgroundSolutionLoadComplete | Occurs on/after the solution is finished loading in the background. |
![]() ![]() | OnAfterChangeProjectParent | Occurs on/after the project has changed parents. |
![]() ![]() | OnAfterCloseSolution | Occurs on/after the solution is closed. |
![]() ![]() | OnAfterClosingChildren | Occurs on/after the solution's children have changed. |
![]() ![]() | OnAfterLoadProject | Occurs on/after the project is loaded. |
![]() ![]() | OnAfterLoadProjectBatch | Occurs on/after the project is batch loaded. |
![]() ![]() | OnAfterMergeSolution | Occurs on/after the solution is merged. |
![]() ![]() | OnAfterOpeningChildren | lOccurs on/after the solution's children are open. |
![]() ![]() | OnAfterOpenProject | Occurs on/after the project is open. |
![]() ![]() | OnAfterOpenSolution | Occurs on/after the solution is open. |
![]() ![]() | OnAfterRenameProject | Occurs on/after the project is renamed. |
![]() ![]() | OnBeforeBackgroundSolutionLoadBegins | Occurs on/before the solution begins to be loaded in the background. |
![]() ![]() | OnBeforeCloseProject | Occurs on/before the project is closed. |
![]() ![]() | OnBeforeCloseSolution | Occurs on/before the solution is closed. |
![]() ![]() | OnBeforeClosingChildren | Occurs on/before the solution's children are closed. |
![]() ![]() | OnBeforeLoadProjectBatch | Occurs on/before the project is batch loaded. |
![]() ![]() | OnBeforeOpeningChildren | Occurs on/before the solution's children are open. |
![]() ![]() | OnBeforeOpenProject | Occurs on/before the project is open. |
![]() ![]() | OnBeforeOpenSolution | Occurs on/before the solution is open. |
![]() ![]() | OnBeforeUnloadProject | Occurs on/before the project is unloaded. |
![]() ![]() | OnQueryBackgroundLoadProjectBatch | Occurs when there is a query about batch loading the project in the background. |
![]() ![]() | OnQueryChangeProjectParent | Occurs when there is a query about changing the project's parent. |
![]() ![]() | OnQueryCloseProject | Occurs when there is a query about closing the project. |
![]() ![]() | OnQueryCloseSolution | Occurs when there is a query about closing the solution. |
![]() ![]() | OnQueryUnloadProject | Occurs when there is a query about unloading the project. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.






