Share via


MockAdlsClient.GetAppendStreamAsync(String, CancellationToken) Method

Definition

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

Returns

Applies to