SolutionEvents Class
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.
Managed-friendly wrapper for IVsSolutionEvents
public ref class SolutionEvents : Microsoft::VisualStudio::Shell::Events::SingletonEventSource<Microsoft::VisualStudio::Shell::Events::SolutionEvents ^>, Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents3, Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents4, Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents5, Microsoft::VisualStudio::Shell::Interop::IVsSolutionLoadEvents
public ref class SolutionEvents : Microsoft::VisualStudio::Shell::Events::SingletonEventSource<Microsoft::VisualStudio::Shell::Events::SolutionEvents ^>, Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents3, Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents4, Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents5, Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents6, Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents7, Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents8, Microsoft::VisualStudio::Shell::Interop::IVsSolutionLoadEvents
[Windows::Foundation::Metadata::WebHostHidden]
class SolutionEvents : Microsoft::VisualStudio::Shell::Events::SingletonEventSource<Microsoft::VisualStudio::Shell::Events::SolutionEvents>, Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents3, Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents4, Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents5, Microsoft::VisualStudio::Shell::Interop::IVsSolutionLoadEvents
public class SolutionEvents : Microsoft.VisualStudio.Shell.Events.SingletonEventSource<Microsoft.VisualStudio.Shell.Events.SolutionEvents>, Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents3, Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents4, Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents5, Microsoft.VisualStudio.Shell.Interop.IVsSolutionLoadEvents
public class SolutionEvents : Microsoft.VisualStudio.Shell.Events.SingletonEventSource<Microsoft.VisualStudio.Shell.Events.SolutionEvents>, Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents3, Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents4, Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents5, Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents6, Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents7, Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents8, Microsoft.VisualStudio.Shell.Interop.IVsSolutionLoadEvents
type SolutionEvents = class
inherit SingletonEventSource<SolutionEvents>
interface IVsSolutionEvents
interface IVsSolutionEvents2
interface IVsSolutionEvents3
interface IVsSolutionEvents4
interface IVsSolutionEvents5
interface IVsSolutionLoadEvents
type SolutionEvents = class
inherit SingletonEventSource<SolutionEvents>
interface IVsSolutionEvents
interface IVsSolutionEvents2
interface IVsSolutionEvents3
interface IVsSolutionEvents4
interface IVsSolutionEvents5
interface IVsSolutionEvents6
interface IVsSolutionEvents7
interface IVsSolutionEvents8
interface IVsSolutionLoadEvents
Public Class SolutionEvents
Inherits SingletonEventSource(Of SolutionEvents)
Implements IVsSolutionEvents3, IVsSolutionEvents4, IVsSolutionEvents5, IVsSolutionLoadEvents
Public Class SolutionEvents
Inherits SingletonEventSource(Of SolutionEvents)
Implements IVsSolutionEvents3, IVsSolutionEvents4, IVsSolutionEvents5, IVsSolutionEvents6, IVsSolutionEvents7, IVsSolutionEvents8, IVsSolutionLoadEvents
- Inheritance
- Implements
Constructors
SolutionEvents() |
Instantiates a new instance of SolutionEvents. |
Properties
IsAdvised |
Indicates whether this EventSource is advised on its VS event source (Inherited from EventSource) |
Methods
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 to protect _cookie. |
GetHandler(String) |
Returns the handler for the given key, or null if none exists. (Inherited from EventSource) |
HasHandler(String) |
Indicates whether the event identified by the given key has at least one handler (Inherited from EventSource) |
RaiseEvent<TEventArgs>(Object, TEventArgs, String) |
Raises the event identified by |
RemoveHandler(Delegate, String) |
Removes an event handler for the specified key. (Inherited from EventSource) |
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 to protect _cookie. |
Events
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. |
OnAfterCloseFolder | |
OnAfterCloseSolution |
Occurs on/after the solution is closed. |
OnAfterClosingChildren |
Occurs on/after the solution's children have changed. |
OnAfterLoadAllDeferredProjects | |
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. |
OnAfterOpenFolder | |
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. |
OnAfterProjectRegisteredInRunningDocumentTable | |
OnAfterRenameProject |
Occurs on/after the project is renamed. |
OnAfterRenameSolution | |
OnBeforeBackgroundSolutionLoadBegins |
Occurs on/before the solution begins to be loaded in the background. |
OnBeforeCloseFolder | |
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. |
OnBeforeProjectRegisteredInRunningDocumentTable | |
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. |
OnQueryCloseFolder | |
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. |