> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFStatisticsDeleteStatisticDefinitionAsync

> Exclui uma definição de estatística de entidade. Excluirá todas as estatísticas em perfis de entidade e tabelas de classificação.

Exclui uma definição de estatística de entidade. Excluirá todas as estatísticas em perfis de entidade e tabelas de classificação.

## Sintaxe

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

### Parâmetros

**`entityHandle`**   PFEntityHandle

PFEntityHandle a ser usado para autenticação.

**`request`**   [PFStatisticsDeleteStatisticDefinitionRequest\*](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsdeletestatisticdefinitionrequest.md)

Objeto de solicitação preenchido.

**`async`**   XAsyncBlock\*\
*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 no Windows, Linux e macOS. Consulte também StatisticCreateStatisticDefinitionAsync. 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\_STATISTIC\_DEFINITION\_MODIFICATION\_NOT\_ALLOWED\_WHILE\_LINKED, E\_PF\_STATISTIC\_NOT\_FOUND, E\_PF\_STATISTIC\_UPDATE\_IN\_PROGRESS 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:** PFStatistics.h

## Confira também

[Membros de PFStatistics](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)


## Related topics

- [Visão geral da API C do Services - PFStatistics.h](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)
- [Delete Statistic Definition](https://docs.xbox.com/api-reference/statistics/delete-statistic-definition.md)
- [PFStatisticsListStatisticDefinitionsAsync](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsliststatisticdefinitionsasync.md)
- [PFStatisticsGetStatisticDefinitionAsync](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticdefinitionasync.md)
- [PFStatisticsDeleteStatisticDefinitionRequest](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsdeletestatisticdefinitionrequest.md)
