共用方式為


ITemporaryTextStorage.ReadTextAsync(CancellationToken) 方法

定義

public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Text.SourceText> ReadTextAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ReadTextAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Text.SourceText>
Public Function ReadTextAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of SourceText)

參數

cancellationToken
CancellationToken

傳回

適用於