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

# XblHttpCallRequestSetRetryCacheId

> XblHttpCallRequestSetRetryCacheId

# XblHttpCallRequestSetRetryCacheId

高速失敗のために Retry-After ヘッダーをキャッシュするために使用される、この REST エンドポイントの ID 番号。

## 構文

```cpp theme={null}
HRESULT XblHttpCallRequestSetRetryCacheId(  
         XblHttpCallHandle call,  
         uint32_t retryAfterCacheId  
)  
```

### パラメーター

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

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

*retryAfterCacheId*   \_In\_\
型: uint32\_t

高速失敗のために Retry-After ヘッダーをキャッシュするために使用される、この REST エンドポイントの ID 番号。1 ～ 1000 は XSAPI 用に予約されています。

### 戻り値

型: HRESULT

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

## 解説

これは、[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

- [HCHttpCallRequestSetRetryCacheId](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetretrycacheid.md)
- [HCHttpCallRequestGetRetryCacheId](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetretrycacheid.md)
- [XblHttpCallRequestSetRetryAllowed](/ja-jp/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetretryallowed.md)
- [HCHttpCallRequestSetRetryDelay](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetretrydelay.md)
- [HCHttpCallRequestSetRetryAllowed](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetretryallowed.md)
