ConnectedStorageContainer.GetAsync Method

Asynchronously retrieves blobs from the container.

Syntax

public:
IAsyncOperation<IMapView<String^ , IBuffer^ >^ >^ GetAsync(
         IIterable<String^ >^ blobsToRead
)  

Parameters

blobsToRead
Type: IIterable<String^ > 

  A collection specifying the blobs to read.

Return value

Type: IAsyncOperation<IMapView<String^ , IBuffer^ >^ > 

A collection of buffers containing the specified blobs.

Error codes are reported through the ErrorCode property of the IAsyncOperation object. The following is a list of possible error codes:

Error Code Description
ConnectedStorageErrorStatus.BlobNotFound The operation failed because a blob with the specified name was not found in the container.

Remarks

GetAsync allocates new buffers to store the data that is read.

Requirements

Namespace: Windows.Xbox.Storage

Metadata: windows.winmd

See also

Reference

ConnectedStorageContainer Class

ConnectedStorageContainer Members

Windows.Xbox.Storage Namespace