GameSaveProvider.DeleteContainerAsync(String) 方法

定义

异步删除指定的游戏保存容器。

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)

参数

name
String

Platform::String

winrt::hstring

类型: 字符串 [JavaScript] | System.String [.NET] | Platform::String [C++]

要删除的容器的字符串名称。

返回

类型: IAsyncOperation<;GameSaveOperationResult>;

IAsyncOperation<;GameSaveOperationResult>; 表示异步操作的状态。

属性

注解

异步操作完成后,检查结果的 Status 属性,以确定操作是否在 GameSaveErrorStatus.Ok 中成功。

适用于

另请参阅