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

# HCHttpCallRequestGetRetryCacheId

> HCHttpCallRequestGetRetryCacheId

# HCHttpCallRequestGetRetryCacheId

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

## 構文

```cpp theme={null}
HRESULT HCHttpCallRequestGetRetryCacheId(  
         HCCallHandle call,  
         uint32_t* retryAfterCacheId  
)  
```

### パラメーター

*call*   \_In\_\
型: HCCallHandle

HTTP 呼び出しのハンドル。今後の呼び出しの既定値を取得するには nullptr を渡します。

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

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

### 戻り値

型: HRESULT

この API 操作の結果コード。取り得る値は S\_OK、E\_INVALIDARG、または E\_FAIL です。

## 解説

既定値は 0 です。

## 要件

**ヘッダー:** httpProvider.h

**ライブラリ:** libHttpClient.GDK.lib

## 関連項目

[httpProvider](/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

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