> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblTitleStorageDeleteBlobAsync

> XblTitleStorageDeleteBlobAsync

# XblTitleStorageDeleteBlobAsync

从标题存储中删除 Blob。

## 语法

```cpp theme={null}
HRESULT XblTitleStorageDeleteBlobAsync(  
         XblContextHandle xboxLiveContext,  
         XblTitleStorageBlobMetadata blobMetadata,  
         bool deleteOnlyIfEtagMatches,  
         XAsyncBlock* async  
)  
```

### 参数

*xboxLiveContext*   \_In\_\
类型：[XblContextHandle](/reference/live/xsapi-c/types_c/handles/xblcontexthandle)

使用 XblContextCreateHandle 创建的 XBOX Live 上下文句柄。

*blobMetadata*   \_In\_\
类型：[XblTitleStorageBlobMetadata](/reference/live/xsapi-c/title_storage_c/structs/xbltitlestorageblobmetadata)

要删除的标题存储 Blob 的 Blob 元数据。

*deleteOnlyIfEtagMatches*   \_In\_\
类型：bool

指定删除操作是否应在删除 Blob 之前检查 ETag 是否匹配。

*async*   \_In\_\
类型：XAsyncBlock\*

调用方分配的 AsyncBlock。

### 返回值

类型：HRESULT

此 API 操作的 HRESULT 返回代码。

## 备注

异步操作的结果可通过在 AsyncBlock 回调内部或 AsyncBlock 完成后调用 [XAsyncGetStatus](/reference/system/xasync/functions/xasyncgetstatus) 来获取。

## REST 调用

V1 DELETE trustedplatform/users/xuid({xuid})/scids/{scid}/data/{path},{type}\
V1 DELETE json/users/xuid({xuid})/scids/{scid}/data/{path},{type}\
V1 DELETE sessions/{sessionId}/scids/{scid}/data/{path},{type}

## 要求

**头文件：** title\_storage\_c.h

**库：** Microsoft.Xbox.Services.14x.GDK.C.lib

## 另请参阅

[title\_storage\_c](/reference/live/xsapi-c/title_storage_c/title_storage_c_members)


## Related topics

- [从 Title Storage 删除 blob](/zh-CN/services/xbox-services/storage/title-storage/how-to/live-deleting-title-storage-blob.md)
- [XblTitleStorageUploadBlobAsync](/zh-CN/reference/live/xsapi-c/title_storage_c/functions/xbltitlestorageuploadblobasync.md)
- [XblTitleStorageDownloadBlobAsync](/zh-CN/reference/live/xsapi-c/title_storage_c/functions/xbltitlestoragedownloadblobasync.md)
- [获取 Title Storage blob 元数据](/zh-CN/services/xbox-services/storage/title-storage/how-to/live-getting-title-storage-blob-metadata.md)
- [从 Title Storage 下载 blob](/zh-CN/services/xbox-services/storage/title-storage/how-to/live-downloading-title-storage-blob.md)
