Solution.GetSourceGeneratedDocumentAsync 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.
public System.Threading.Tasks.ValueTask<Microsoft.CodeAnalysis.SourceGeneratedDocument?> GetSourceGeneratedDocumentAsync(Microsoft.CodeAnalysis.DocumentId documentId, System.Threading.CancellationToken cancellationToken);
member this.GetSourceGeneratedDocumentAsync : Microsoft.CodeAnalysis.DocumentId * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<Microsoft.CodeAnalysis.SourceGeneratedDocument>
Public Function GetSourceGeneratedDocumentAsync (documentId As DocumentId, cancellationToken As CancellationToken) As ValueTask(Of SourceGeneratedDocument)
Parameters
- documentId
- DocumentId
- cancellationToken
- CancellationToken