> ## 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.

# Title Storage에서 blob 삭제

> 클라우드 저장을 위한 ETag 일치 지원과 함께 XblTitleStorageDeleteBlobAsync를 사용하여 XBOX services Title Storage에서 blob을 삭제하는 방법을 보여주는 flat C 코드 샘플입니다.

이 항목에서는 다음 flat C 코드 예제를 사용하여 XBOX services Title Storage에서 blob을 삭제하는 방법을 보여줍니다.

#### Flat C

```cpp theme={null}
auto asyncBlock = std::make_unique<XAsyncBlock>();
asyncBlock->queue = queue;
asyncBlock->context = nullptr;
asyncBlock->callback = [](XAsyncBlock* asyncBlock)
{
    std::unique_ptr<XAsyncBlock> asyncBlockPtr{ asyncBlock };    // Take over ownership of XAsyncBlock*.
    HRESULT hr = XAsyncGetStatus(asyncBlock, false);
};

HRESULT hr = XblTitleStorageDeleteBlobAsync(
    xboxLiveContext,
    blobMetadata,
    deleteOnlyIfEtagMatches,
    asyncBlock.get()
);

if (SUCCEEDED(hr))
{
    // The call succeeded, so release the std::unique_ptr ownership
    // of XAsyncBlock* because the callback now takes ownership.
    // If the call fails, std::unique_ptr maintains ownership and deletes XAsyncBlock*.
    asyncBlock.release();
}
```

## 참고 항목

[XAsyncBlock](/reference/system/xasync/structs/xasyncblock)

[XAsyncGetStatus](/reference/system/xasync/functions/xasyncgetstatus)

[XblTitleStorageDeleteBlobAsync](/reference/live/xsapi-c/title_storage_c/functions/xbltitlestoragedeleteblobasync)


## Related topics

- [XblTitleStorageDeleteBlobAsync](/ko/reference/live/xsapi-c/title_storage_c/functions/xbltitlestoragedeleteblobasync.md)
- [Title Storage에서 blob 다운로드](/ko/services/xbox-services/storage/title-storage/how-to/live-downloading-title-storage-blob.md)
- [Partner Center에서 Title Storage 구성](/ko/services/xbox-services/storage/title-storage/config/live-title-storage-portal-config.md)
- [XblTitleStorageDownloadBlobAsync](/ko/reference/live/xsapi-c/title_storage_c/functions/xbltitlestoragedownloadblobasync.md)
- [Title Storage blob 메타데이터 가져오기](/ko/services/xbox-services/storage/title-storage/how-to/live-getting-title-storage-blob-metadata.md)
