Udostępnij za pośrednictwem


GameSaveContainer.GetAsync(IIterable<String>) Method

Definition

Asynchronously retrieves blobs from the container.

public:
 virtual IAsyncOperation<GameSaveBlobGetResult ^> ^ GetAsync(IIterable<Platform::String ^> ^ blobsToRead) = GetAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GameSaveBlobGetResult> GetAsync(IIterable<winrt::hstring> const& blobsToRead);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GameSaveBlobGetResult> GetAsync(IEnumerable<string> blobsToRead);
function getAsync(blobsToRead)
Public Function GetAsync (blobsToRead As IEnumerable(Of String)) As IAsyncOperation(Of GameSaveBlobGetResult)

Parameters

blobsToRead

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

Type: IIterable<;String>; [JavaScript/C++] | System.Collections.Generic.IEnumerable<;String>; [.NET]

String names of the blobs to read

Returns

Type: IAsyncOperation<;GameSaveBlobGetResult>;

IAsyncOperation<;GameSaveBlobGetResult>; that represents the state of the asynchronous operation.

Attributes

Remarks

GetAsync allocates new buffers to store the returned data.

After the asynchronous operation completes, check the Status property of the result to determine whether the operation succeeded with GameSaveErrorStatus.Ok.

Applies to

See also