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

# VerifyStringResult (JSON)

> VerifyStringResult (JSON)

# VerifyStringResult (JSON)

Códigos de resultado correspondentes a cada cadeia de caracteres enviada para [/system/strings/validate](https://docs.xbox.com/pt-BR/reference/live/rest/uri/stringserver/uri-systemstringsvalidate.md).

## VerifyStringResult

O objeto VerifyStringResult tem a especificação a seguir.

| Membro | Tipo | Descrição |
| - | - | - |
| resultCode | inteiro sem sinal de 32 bits | Obrigatório. Código HResult correspondente à cadeia de caracteres enviada. |
| offendingString | string | Obrigatório. Valor de cadeia de caracteres que causou a rejeição de uma cadeia de caracteres. |

## Exemplo de sintaxe JSON

```json theme={null}
{
    "verifyStringResult":
    [
        {"resultCode": "1", "offendingString": "badword"},
        {"resultCode": "0", "offendingString": ""},
        {"resultCode": "0", "offendingString": ""},
        {"resultCode": "0", "offendingString": ""},
    ]
}

```

#### Valores HResult comuns

\| Valor| Nome do erro|
\| --- | --- | --- | --- | --- |
\| 0| Êxito|
\| 1| Cadeia de caracteres ofensiva|
\| 2| Cadeia de caracteres muito longa|
\| 3| Erro desconhecido|

## Confira também

##### Pai

[Referência de objetos JSON (JavaScript Object Notation)](https://docs.xbox.com/pt-BR/reference/live/rest/json/atoc-xboxlivews-reference-json.md)

##### Referência

[POST (/system/strings/validate)](https://docs.xbox.com/pt-BR/reference/live/rest/uri/stringserver/uri-systemstringsvalidatepost.md)


## Related topics

- [POST (/system/strings/validate)](https://docs.xbox.com/pt-BR/reference/live/rest/uri/stringserver/uri-systemstringsvalidatepost.md)
- [Referência de objetos JSON (JavaScript Object Notation)](https://docs.xbox.com/pt-BR/reference/live/rest/json/atoc-xboxlivews-reference-json.md)
- [XblStringVerifyStringsResult](https://docs.xbox.com/pt-BR/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringsresult.md)
- [XblStringVerifyStringResult](https://docs.xbox.com/pt-BR/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringresult.md)
- [XblVerifyStringResult](https://docs.xbox.com/pt-BR/reference/live/xsapi-c/string_verify_c/structs/xblverifystringresult.md)
