Workspace.WorkspaceChanged Event
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.
Caution
Use RegisterWorkspaceChangedHandler instead, which by default will no longer run on the UI thread.
An event raised whenever the current solution is changed.
public:
event EventHandler<Microsoft::CodeAnalysis::WorkspaceChangeEventArgs ^> ^ WorkspaceChanged;
public event EventHandler<Microsoft.CodeAnalysis.WorkspaceChangeEventArgs> WorkspaceChanged;
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("Use RegisterWorkspaceChangedHandler instead, which by default will no longer run on the UI thread.", false)]
public event EventHandler<Microsoft.CodeAnalysis.WorkspaceChangeEventArgs> WorkspaceChanged;
member this.WorkspaceChanged : EventHandler<Microsoft.CodeAnalysis.WorkspaceChangeEventArgs>
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Obsolete("Use RegisterWorkspaceChangedHandler instead, which by default will no longer run on the UI thread.", false)>]
member this.WorkspaceChanged : EventHandler<Microsoft.CodeAnalysis.WorkspaceChangeEventArgs>
Public Custom Event WorkspaceChanged As EventHandler(Of WorkspaceChangeEventArgs)
Event Type
- Attributes