AdlsClient.GetAppendStream(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.
Synchronous API that returns the stream to write data to a file in ADLS. The file is opened with exclusive access - any attempt to open the same file for append will fail while this stream is open.
Threading: The returned stream is not thread-safe.
public virtual Microsoft.Azure.DataLake.Store.AdlsOutputStream GetAppendStream (string filename, System.Threading.CancellationToken cancelToken = default);
abstract member GetAppendStream : string * System.Threading.CancellationToken -> Microsoft.Azure.DataLake.Store.AdlsOutputStream
override this.GetAppendStream : string * System.Threading.CancellationToken -> Microsoft.Azure.DataLake.Store.AdlsOutputStream
Public Overridable Function GetAppendStream (filename As String, Optional cancelToken As CancellationToken = Nothing) As AdlsOutputStream
Parameters
- filename
- String
File name
- cancelToken
- CancellationToken
CancellationToken to cancel the request
Returns
Output stream
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for