MockAdlsClient.GetAppendStreamAsync(String, CancellationToken) 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.
Returns the memory stream for appending to the file encapsulated in mock adls output stream.
public override System.Threading.Tasks.Task<Microsoft.Azure.DataLake.Store.AdlsOutputStream> GetAppendStreamAsync(string filename, System.Threading.CancellationToken cancelToken = default);
override this.GetAppendStreamAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.DataLake.Store.AdlsOutputStream>
Public Overrides Function GetAppendStreamAsync (filename As String, Optional cancelToken As CancellationToken = Nothing) As Task(Of AdlsOutputStream)
Parameters
- filename
- String
File name
- cancelToken
- CancellationToken
Cancellation token