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

# XblContextSettingsGetHttpTimeoutWindow

> XblContextSettingsGetHttpTimeoutWindow

# XblContextSettingsGetHttpTimeoutWindow

HTTP タイムアウト ウィンドウを秒単位で取得します。

## 構文

```cpp theme={null}
HRESULT XblContextSettingsGetHttpTimeoutWindow(  
         XblContextHandle context,  
         uint32_t* timeoutWindowInSeconds  
)  
```

### パラメーター

*context*   \_In\_\
型: [XblContextHandle](/reference/live/xsapi-c/types_c/handles/xblcontexthandle)

設定が関連付けられている XBOX Live コンテキスト。

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

タイムアウト ウィンドウを秒単位で返します。既定は 20 秒です。

### 戻り値

型: HRESULT

この API 操作の HRESULT 戻り値コード。

## 解説

これは、失敗するまでにべき等なサービス呼び出しの再試行にどの程度時間を費やすかを制御します。<br /><br /> ネットワーク エラーが発生した場合、またはサーバーが次のいずれかの HTTP ステータス コードで応答した場合に、べき等なサービス呼び出しが再試行されます:<br /> 408 (Request Timeout)<br /> 429 (Too Many Requests)<br /> 500 (Internal Server Error)<br /> 502 (Bad Gateway)<br /> 503 (Service Unavailable)<br /> 504 (Gateway Timeout)<br />

## 要件

**ヘッダー:** xbox\_live\_context\_settings\_c.h

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

## 関連項目

[xbox\_live\_context\_settings\_c](/reference/live/xsapi-c/xbox_live_context_settings_c/xbox_live_context_settings_c_members)


## Related topics

- [XBOX services 呼び出しのベストプラクティス](/ja-jp/services/xbox-services/develop/best-practices/live-best-practices-calling-xbl.md)
- [XblContextSettingsSetHttpTimeoutWindow](/ja-jp/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingssethttptimeoutwindow.md)
- [XblContextSettingsGetHttpRetryDelay](/ja-jp/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingsgethttpretrydelay.md)
- [XblContextSettingsGetLongHttpTimeout](/ja-jp/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingsgetlonghttptimeout.md)
- [XblContextSettingsGetWebsocketTimeoutWindow](/ja-jp/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingsgetwebsockettimeoutwindow.md)
