FileSystemOperationsExtensions.BeginCreateAsync Method (IFileSystemOperations, String, String, FileCreateParameters)
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
public static Task<FileCreateOpenAndAppendResponse> BeginCreateAsync(
this IFileSystemOperations operations,
string filePath,
string accountName,
FileCreateParameters parameters
)
public:
[ExtensionAttribute]
static Task<FileCreateOpenAndAppendResponse^>^ BeginCreateAsync(
IFileSystemOperations^ operations,
String^ filePath,
String^ accountName,
FileCreateParameters^ parameters
)
static member BeginCreateAsync :
operations:IFileSystemOperations *
filePath:string *
accountName:string *
parameters:FileCreateParameters -> Task<FileCreateOpenAndAppendResponse>
<ExtensionAttribute>
Public Shared Function BeginCreateAsync (
operations As IFileSystemOperations,
filePath As String,
accountName As String,
parameters As FileCreateParameters
) As Task(Of FileCreateOpenAndAppendResponse)
Parameters
operations
Type: Microsoft.Azure.Management.DataLake.StoreFileSystem.IFileSystemOperationsReference to the Microsoft.Azure.Management.DataLakeFileSystem.IFileSystemOperations.
filePath
Type: System.StringRequired. The path to the file to create.
accountName
Type: System.StringRequired. The name of the account to use
parameters
Type: Microsoft.Azure.Management.DataLake.StoreFileSystem.Models.FileCreateParametersOptional. The optional parameters to use when creating the file
Return Value
Type: System.Threading.Tasks.Task<FileCreateOpenAndAppendResponse>
The data from the file requested.
See Also
FileSystemOperationsExtensions Class
Microsoft.Azure.Management.DataLake.StoreFileSystem Namespace
Return to top