> ## 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::GetErrorEvent

> IDStorageQueueX::GetErrorEvent

# IDStorageQueueX::GetErrorEvent

待機するイベントを取得します。

## 構文

```cpp theme={null}
HANDLE GetErrorEvent(  
)  
```

### パラメーター

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

### 戻り値

Type: HANDLE

イベントへの HANDLE。

## 解説

このキューの読み取り要求でエラーが発生すると、イベントがシグナルされます。診断情報を取得するには [IDStorageQueueX::RetrieveErrorRecord](/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_retrieveerrorrecord) を呼び出します。タイトルでイベントが不要になったら、`CloseHandle` を呼び出します。

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

## 要件

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

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

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

## 関連項目

[IDStorageQueueX](/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex)\
[DStorage](/reference/system/dstorage/dstorage_members)


## Related topics

- [IDStorageQueueX::RetrieveErrorRecord](/ja-jp/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_retrieveerrorrecord.md)
- [DirectStorage の概要](/ja-jp/build/console-features/storage/directstorage/directstorage-overview.md)
- [IDStorageQueueX](/ja-jp/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex.md)
- [DSTORAGE_ERROR_RECORD](/ja-jp/reference/system/dstorage/structs/dstorage_error_record.md)
- [DSTORAGE_COMMAND_TYPE](/ja-jp/reference/system/dstorage/enums/dstorage_command_type.md)
