共用方式為


Workspace.RaiseWorkspaceChangedEventAsync Method

Definition

protected System.Threading.Tasks.Task RaiseWorkspaceChangedEventAsync (Microsoft.CodeAnalysis.WorkspaceChangeKind kind, Microsoft.CodeAnalysis.Solution oldSolution, Microsoft.CodeAnalysis.Solution newSolution, Microsoft.CodeAnalysis.ProjectId projectId = default, Microsoft.CodeAnalysis.DocumentId documentId = default);
member this.RaiseWorkspaceChangedEventAsync : Microsoft.CodeAnalysis.WorkspaceChangeKind * Microsoft.CodeAnalysis.Solution * Microsoft.CodeAnalysis.Solution * Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.DocumentId -> System.Threading.Tasks.Task
Protected Function RaiseWorkspaceChangedEventAsync (kind As WorkspaceChangeKind, oldSolution As Solution, newSolution As Solution, Optional projectId As ProjectId = Nothing, Optional documentId As DocumentId = Nothing) As Task

Parameters

oldSolution
Solution
newSolution
Solution
projectId
ProjectId
documentId
DocumentId

Returns

Applies to