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

# XblHttpCallRequestSetRetryAllowed

> XblHttpCallRequestSetRetryAllowed

# XblHttpCallRequestSetRetryAllowed

この HTTP 呼び出しで再試行を許可するかどうかを設定します。

## 構文

```cpp theme={null}
HRESULT XblHttpCallRequestSetRetryAllowed(  
         XblHttpCallHandle call,  
         bool retryAllowed  
)  
```

### パラメーター

*call*   \_In\_\
型: [XblHttpCallHandle](/reference/live/xsapi-c/http_call_c/handles/xblhttpcallhandle)

HTTP 呼び出しのハンドル。今後の呼び出しの既定値を設定する場合は nullptr を渡します。

*retryAllowed*   \_In\_\
型: bool

この HTTP 呼び出しで再試行を許可するかどうか。

### 戻り値

型: HRESULT

この API 操作の結果コード。有効な値は S\_OK または E\_FAIL です。

## 解説

既定値は true です。これは、[XblHttpCallPerformAsync](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync) を呼び出す前に呼び出す必要があります。

## 要件

**ヘッダー:** http\_call\_c.h

**ライブラリ:** Microsoft.Xbox.Services.14x.GDK.C.lib

## 関連項目

[http\_call\_c](/reference/live/xsapi-c/http_call_c/http_call_c_members)


## Related topics

- [HCHttpCallRequestSetRetryAllowed](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetretryallowed.md)
- [HCHttpCallRequestGetRetryAllowed](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetretryallowed.md)
- [XblHttpCallRequestSetRetryCacheId](/ja-jp/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetretrycacheid.md)
- [HCHttpCallRequestSetRetryDelay](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetretrydelay.md)
- [HCHttpCallRequestSetRetryCacheId](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetretrycacheid.md)
