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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET