IPersistentStorage.ReadStreamAsync 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.
Overloads
ReadStreamAsync(String, CancellationToken) | |
ReadStreamAsync(Document, String, CancellationToken) | |
ReadStreamAsync(Project, String, CancellationToken) |
ReadStreamAsync(String, CancellationToken)
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
public System.Threading.Tasks.Task<System.IO.Stream> ReadStreamAsync (string name, System.Threading.CancellationToken cancellationToken = default);
public System.Threading.Tasks.Task<System.IO.Stream?> ReadStreamAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member ReadStreamAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
Public Function ReadStreamAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Stream)
Parameters
- name
- String
- cancellationToken
- CancellationToken
Returns
Applies to
ReadStreamAsync(Document, String, CancellationToken)
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
public System.Threading.Tasks.Task<System.IO.Stream> ReadStreamAsync (Microsoft.CodeAnalysis.Document document, string name, System.Threading.CancellationToken cancellationToken = default);
public System.Threading.Tasks.Task<System.IO.Stream?> ReadStreamAsync (Microsoft.CodeAnalysis.Document document, string name, System.Threading.CancellationToken cancellationToken = default);
abstract member ReadStreamAsync : Microsoft.CodeAnalysis.Document * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
Public Function ReadStreamAsync (document As Document, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Stream)
Parameters
- document
- Document
- name
- String
- cancellationToken
- CancellationToken
Returns
Applies to
ReadStreamAsync(Project, String, CancellationToken)
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
- Source:
- IPersistentStorage.cs
public System.Threading.Tasks.Task<System.IO.Stream> ReadStreamAsync (Microsoft.CodeAnalysis.Project project, string name, System.Threading.CancellationToken cancellationToken = default);
public System.Threading.Tasks.Task<System.IO.Stream?> ReadStreamAsync (Microsoft.CodeAnalysis.Project project, string name, System.Threading.CancellationToken cancellationToken = default);
abstract member ReadStreamAsync : Microsoft.CodeAnalysis.Project * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
Public Function ReadStreamAsync (project As Project, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Stream)
Parameters
- project
- Project
- name
- String
- cancellationToken
- CancellationToken