IFileSystemOperations.InternalBeginCreateAsync Method (String, String, FileCreateParameters, CancellationToken)
Initiates a file creation request, resulting in a return of the data node location that will service the request. DO NOT USE DIRECTLY in C# (This should be used directly in Node.js). Call BeginCreate and BeginCreateAsync instead. This ensures proper following of WebHDFS redirects
Namespace: Microsoft.Azure.Management.DataLake.StoreFileSystem
Assembly: Microsoft.Azure.Management.DataLake.StoreFileSystem (in Microsoft.Azure.Management.DataLake.StoreFileSystem.dll)
Syntax
Task<FileCreateOpenAndAppendResponse> InternalBeginCreateAsync(
string filePath,
string accountName,
FileCreateParameters parameters,
CancellationToken cancellationToken
)
Task<FileCreateOpenAndAppendResponse^>^ InternalBeginCreateAsync(
String^ filePath,
String^ accountName,
FileCreateParameters^ parameters,
CancellationToken cancellationToken
)
abstract InternalBeginCreateAsync :
filePath:string *
accountName:string *
parameters:FileCreateParameters *
cancellationToken:CancellationToken -> Task<FileCreateOpenAndAppendResponse>
Function InternalBeginCreateAsync (
filePath As String,
accountName As String,
parameters As FileCreateParameters,
cancellationToken As CancellationToken
) As Task(Of FileCreateOpenAndAppendResponse)
Parameters
filePath
Type: System.StringThe path to the file to create.
accountName
Type: System.StringThe name of the Data Lake Store account to create the file in
parameters
Type: Microsoft.Azure.Management.DataLake.StoreFileSystem.Models.FileCreateParametersThe optional parameters to use when creating the file
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<FileCreateOpenAndAppendResponse>
The response recieved after the BeginOpen, BeginCreate and BeginAppend requests.
See Also
IFileSystemOperations Interface
Microsoft.Azure.Management.DataLake.StoreFileSystem Namespace
Return to top