CloudFile.UploadTextAsync Method (String) (Microsoft.WindowsAzure.Storage.File)
From Microsoft Windows Azure Storage Blob
C#
C++
F#
VB
Returns a task that performs an asynchronous operation to upload a string of text to a file.
Namespace:
Microsoft.WindowsAzure.Storage.File
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[<DoesServiceRequestAttribute>]
abstract UploadTextAsync :
content:string -> Task
[<DoesServiceRequestAttribute>]
override UploadTextAsync :
content:string -> Task
<DoesServiceRequestAttribute>
Public Overridable Function UploadTextAsync (
content As String
) As Task
Parameters
- content
-
Type:
System.StringSystem::String^System.StringSystem.String
The text to upload.
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 upload a string of text to a file.
Syntax
[<DoesServiceRequestAttribute>] abstract UploadTextAsync : content:string -> Task [<DoesServiceRequestAttribute>] override UploadTextAsync : content:string -> Task
<DoesServiceRequestAttribute> Public Overridable Function UploadTextAsync ( content As String ) As Task
Parameters
- content
-
Type:
System.StringSystem::String^System.StringSystem.String
The text to upload.
Return Value
Type: System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the current operation.