CloudFile.CreateAsync Method (Int64) (Microsoft.WindowsAzure.Storage.File)
From Microsoft Windows Azure Storage Blob
C#
C++
F#
VB
Returns a task that performs an asynchronous operation to create a file.
Namespace:
Microsoft.WindowsAzure.Storage.File
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[<DoesServiceRequestAttribute>]
abstract CreateAsync :
size:int64 -> Task
[<DoesServiceRequestAttribute>]
override CreateAsync :
size:int64 -> Task
<DoesServiceRequestAttribute>
Public Overridable Function CreateAsync (
size As Long
) As Task
Parameters
- size
-
Type:
System.Int64System::Int64System.Int64System.Int64
The maximum size of the file, in bytes.
Return Value
Type:
System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the current operation.
Return to top
Returns a task that performs an asynchronous operation to create a file.
Syntax
[<DoesServiceRequestAttribute>] abstract CreateAsync : size:int64 -> Task [<DoesServiceRequestAttribute>] override CreateAsync : size:int64 -> Task
<DoesServiceRequestAttribute> Public Overridable Function CreateAsync ( size As Long ) As Task
Parameters
- size
-
Type:
System.Int64System::Int64System.Int64System.Int64
The maximum size of the file, in bytes.
Return Value
Type: System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the current operation.