ProjectManager.GetProjectDiagnostics(Uri) Method
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.
Returns a copy of the current diagnostics generated upon loading.
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.LanguageServer.Protocol.Diagnostic>? GetProjectDiagnostics (Uri projectId);
member this.GetProjectDiagnostics : Uri -> seq<Microsoft.VisualStudio.LanguageServer.Protocol.Diagnostic>
Public Function GetProjectDiagnostics (projectId As Uri) As IEnumerable(Of Diagnostic)
Parameters
- projectId
- Uri
Returns
Remarks
This method waits for all currently running or queued tasks to finish before getting the project loading diagnostics.