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

Obtiene un evento por el que esperar.

## Sintaxis

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

### Parámetros

Este método no tiene parámetros.

### Valor devuelto

Tipo: HANDLE

HANDLE de un evento.

## Comentarios

Cuando se produce un error en una solicitud de lectura de esta cola, se señala el evento. Llame a [IDStorageQueueX::RetrieveErrorRecord](/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_retrieveerrorrecord) para recuperar información de diagnóstico. Llame a `CloseHandle` cuando el título ya no necesite el evento.

Para obtener más información, consulte la sección "GetErrorEvent/RetrieveErrorRecord" en [Información general de DirectStorage](/build/console-features/storage/directstorage/directstorage-overview).

## Requisitos

**Encabezado:** dstorage\_xs.h

**Biblioteca:** dstorage\_xs.lib

**Plataformas compatibles:** consolas XBOX Series

## Consulte también

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


## Related topics

- [IDStorageQueueX::RetrieveErrorRecord](/es/reference/system/dstorage/interfaces/IDStorageQueueX/methods/idstoragequeuex_retrieveerrorrecord.md)
- [Información general de DirectStorage](/es/build/console-features/storage/directstorage/directstorage-overview.md)
- [IDStorageQueueX](/es/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex.md)
- [DSTORAGE_ERROR_RECORD](/es/reference/system/dstorage/structs/dstorage_error_record.md)
- [DSTORAGE_COMMAND_TYPE](/es/reference/system/dstorage/enums/dstorage_command_type.md)
