Udostępnij za pośrednictwem


GameSaveProvider.DeleteContainerAsync(String) Method

Definition

Asynchronously deletes the specified game save container.

public:
 virtual IAsyncOperation<GameSaveOperationResult ^> ^ DeleteContainerAsync(Platform::String ^ name) = DeleteContainerAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GameSaveOperationResult> DeleteContainerAsync(winrt::hstring const& name);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GameSaveOperationResult> DeleteContainerAsync(string name);
function deleteContainerAsync(name)
Public Function DeleteContainerAsync (name As String) As IAsyncOperation(Of GameSaveOperationResult)

Parameters

name
String

Platform::String

winrt::hstring

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

String name of the container to delete.

Returns

Type: IAsyncOperation<;GameSaveOperationResult>;

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

Attributes

Remarks

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