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

# IDStorageQueueX::Close

> IDStorageQueueX::Close

# IDStorageQueueX::Close

DirectStorage キューを閉じます。

## 構文

```cpp theme={null}
void Close(  
)  
```

### パラメーター

このメソッドにパラメーターはありません。

### 戻り値

Type: void

## 解説

このメソッドは、`IDStorageQueueX` オブジェクトの参照カウントに関係なく、DirectStorage キューを閉じます。このメソッドは、キューに入れられたすべての要求が完了するか失敗するまでブロックされます。メソッドが戻った後は、いくつかの要求が送信されても、キューは要求を完了しなくなります。

詳細については、[DirectStorage の概要](/build/console-features/storage/directstorage/directstorage-overview) の「IDStorageQueueX」セクションを参照してください。

## 要件

**ヘッダー:** dstorage\_xs.h

**ライブラリ:** dstorage\_xs.lib

**サポートされているプラットフォーム:** XBOX Series 本体

## 関連項目

[IDStorageFactoryX::CreateQueue](/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_createqueue)\
[IDStorageQueueX](/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex)\
[DStorage](/reference/system/dstorage/dstorage_members)


## Related topics

- [IDStorageQueueX](/ja-jp/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex.md)
- [IDStorageQueueX::GetErrorEvent](/ja-jp/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_geterrorevent.md)
- [IDStorageQueueX::Query](/ja-jp/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_query.md)
- [IDStorageQueueX::Submit](/ja-jp/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_submit.md)
- [IDStorageQueueX::EnqueueSignal](/ja-jp/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_enqueuesignal.md)
