IFileSystemOperations.BeginCreateAsync Method (String, String, FileCreateParameters, CancellationToken)
Initiates a file creation request, resulting in a return of the data node location that will service the request.
Namespace: Microsoft.Azure.Management.DataLake.StoreFileSystem
Assembly: Microsoft.Azure.Management.DataLake.StoreFileSystem (in Microsoft.Azure.Management.DataLake.StoreFileSystem.dll)
Syntax
Task<FileCreateOpenAndAppendResponse> BeginCreateAsync(
string filePath,
string accountName,
FileCreateParameters parameters,
CancellationToken cancellationToken
)
Task<FileCreateOpenAndAppendResponse^>^ BeginCreateAsync(
String^ filePath,
String^ accountName,
FileCreateParameters^ parameters,
CancellationToken cancellationToken
)
abstract BeginCreateAsync :
filePath:string *
accountName:string *
parameters:FileCreateParameters *
cancellationToken:CancellationToken -> Task<FileCreateOpenAndAppendResponse>
Function BeginCreateAsync (
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 account to use
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 data from the file requested.
See Also
IFileSystemOperations Interface
Microsoft.Azure.Management.DataLake.StoreFileSystem Namespace
Return to top