CloudBlockBlob.UploadTextAsync Method (String)

Windows Runtime Azure Storage Client Library

Uploads a string of text to a blob.

Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As CloudBlockBlob
Dim content As String
Dim returnValue As IAsyncAction

returnValue = instance.UploadTextAsync(content)

Syntax

Visual Basic
Public Function UploadTextAsync ( _
	content As String _
) As IAsyncAction
C#
public IAsyncAction UploadTextAsync (
	string content
)
C++
public:
IAsyncAction^ UploadTextAsync (
	String^ content
)
J#
public IAsyncAction UploadTextAsync (
	String content
)
JScript
public function UploadTextAsync (
	content : String
) : IAsyncAction

Parameters

content

The text to upload, encoded as a UTF-8 string.

Return Value

An IAsyncAction that represents an asynchronous action.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also