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

# IDStorageQueueX2

> IDStorageQueueX2

# IDStorageQueueX2

DirectStorage キューを表します。
[IDStorageQueueX1](/reference/system/dstorage/interfaces/IDStorageQueueX1/idstoragequeuex1) インターフェイスを拡張します。

## 構文

```cpp theme={null}
class IDStorageQueueX2 : public IDStorageQueueX1  
```

## メソッド

| メソッド                                                                                            | 説明               |
| ----------------------------------------------------------------------------------------------- | ---------------- |
| [Query1](/reference/system/dstorage/interfaces/IDStorageQueueX2/methods/idstoragequeuex_query1) | キューに関する情報を取得します。 |

## 解説

DirectStorage キューは、タイトルがキューで [Submit](/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_submit) を呼び出すか、このキューで有効になっている場合に、いずれかの Enqueue メソッドが前回の送信以降にキュー容量の半分以上を満たして自動送信をトリガーするまで、エントリを保持します。DirectStorage キュー内のすべてのエントリは、キューに入れられた順序で完了します。

`IDStorageQueueX2` は、DirectStorage キューの自動送信機能を無効にする機能を含む、キューに関する情報を照会するための [Query1](/reference/system/dstorage/interfaces/IDStorageQueueX2/methods/idstoragequeuex_query1) メソッドを追加して `IDStorageQueueX1` を拡張したものです。

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

## 要件

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

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

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

## 関連項目

[IDStorageFactoryX::CreateQueue](/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_createqueue)\
[IDStorageFactoryX2::CreateQueue1](/reference/system/dstorage/interfaces/IDStorageFactoryX2/methods/idstoragefactoryx_createqueue1)\
[DStorage](/reference/system/dstorage/dstorage_members)


## Related topics

- [DirectStorage の概要](/ja-jp/build/console-features/storage/directstorage/directstorage-overview.md)
- [IDStorageQueueX2::Query1](/ja-jp/reference/system/dstorage/interfaces/IDStorageQueueX2/methods/idstoragequeuex_query1.md)
- [DSTORAGE_QUEUE_INFO1](/ja-jp/reference/system/dstorage/structs/dstorage_queue_info1.md)
- [IDStorageFactoryX2::CreateQueue1](/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX2/methods/idstoragefactoryx_createqueue1.md)
- [DStorage](/ja-jp/reference/system/dstorage/dstorage_members.md)
