다음을 통해 공유


Project.GetSourceGeneratedDocumentAsync(DocumentId, CancellationToken) 메서드

정의

public System.Threading.Tasks.ValueTask<Microsoft.CodeAnalysis.SourceGeneratedDocument?> GetSourceGeneratedDocumentAsync (Microsoft.CodeAnalysis.DocumentId documentId, System.Threading.CancellationToken cancellationToken = default);
member this.GetSourceGeneratedDocumentAsync : Microsoft.CodeAnalysis.DocumentId * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<Microsoft.CodeAnalysis.SourceGeneratedDocument>
Public Function GetSourceGeneratedDocumentAsync (documentId As DocumentId, Optional cancellationToken As CancellationToken = Nothing) As ValueTask(Of SourceGeneratedDocument)

매개 변수

documentId
DocumentId
cancellationToken
CancellationToken

반환

적용 대상