FixAllContext.DiagnosticProvider.GetDocumentDiagnosticsAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft alle Diagnosen ab, die im angegebenen Dokument in einem FixAllContext.
public:
abstract System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::Diagnostic ^> ^> ^ GetDocumentDiagnosticsAsync(Microsoft::CodeAnalysis::Document ^ document, System::Threading::CancellationToken cancellationToken);
public abstract System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostic>> GetDocumentDiagnosticsAsync(Microsoft.CodeAnalysis.Document document, System.Threading.CancellationToken cancellationToken);
abstract member GetDocumentDiagnosticsAsync : Microsoft.CodeAnalysis.Document * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.Diagnostic>>
Public MustOverride Function GetDocumentDiagnosticsAsync (document As Document, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of Diagnostic))
Parameter
- document
- Document
- cancellationToken
- CancellationToken