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

# PFInventoryDeleteInventoryCollectionAsync

> Exclui uma coleção de inventário. Mais informações sobre coleções de inventário podem ser encontradas aqui: https://learn.microsoft.com/gaming/playfab/features/economy-v2/inventory/collections

Exclui uma coleção de inventário. Mais informações sobre coleções de inventário podem ser encontradas aqui: [https://learn.microsoft.com/gaming/playfab/features/economy-v2/inventory/collections](https://learn.microsoft.com/gaming/playfab/features/economy-v2/inventory/collections)

## Sintaxe

```cpp theme={null}
HRESULT PFInventoryDeleteInventoryCollectionAsync(  
    PFEntityHandle entityHandle,  
    const PFInventoryDeleteInventoryCollectionRequest* request,  
    XAsyncBlock* async  
)  
```

### Parâmetros

**`entityHandle`**   PFEntityHandle

PFEntityHandle a ser usado para autenticação.

**`request`**   [PFInventoryDeleteInventoryCollectionRequest\*](/pt-BR/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorydeleteinventorycollectionrequest)

Objeto de solicitação preenchido.

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock para a operação assíncrona.

### Valor de retorno

Tipo: HRESULT

Código de resultado desta operação de API.

## Comentários

Esta API está disponível em todas as plataformas. Exclui uma coleção de inventário pela Id especificada para uma entidade. Chame XAsyncGetStatus para obter o status da operação. Se a chamada de serviço não for bem-sucedida, o resultado assíncrono será E\_PF\_INVENTORY\_COLLECTION\_DELETION\_DISALLOWED ou qualquer um dos erros globais do Serviço PlayFab. Consulte a página de documentação "Handling PlayFab Errors" para obter mais detalhes sobre o tratamento de erros.

## Requisitos

**Cabeçalho:** PFInventory.h

## Confira também

[Membros de PFInventory](/pt-BR/services/playfab/api-references/c/pfinventory/pfinventory_members)


## Related topics

- [Visão geral da API C do Services - PFInventory.h](/pt-BR/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [Delete Inventory Collection](/api-reference/inventory/delete-inventory-collection.md)
- [PFInventoryDeleteInventoryCollectionRequest](/pt-BR/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorydeleteinventorycollectionrequest.md)
- [PFInventoryGetInventoryCollectionIdsAsync](/pt-BR/services/playfab/api-references/c/pfinventory/functions/pfinventorygetinventorycollectionidsasync.md)
- [PFInventoryDeleteInventoryItemsAsync](/pt-BR/services/playfab/api-references/c/pfinventory/functions/pfinventorydeleteinventoryitemsasync.md)
