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

返回

适用于