다음을 통해 공유


Workspace.WorkspaceChanged Event

Definition

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

Applies to