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

# HCHttpCallResponseSetPlatformNetworkErrorMessage

> HCHttpCallResponseSetPlatformNetworkErrorMessage

# HCHttpCallResponseSetPlatformNetworkErrorMessage

HTTP 呼び出しのプラットフォーム ネットワーク エラー メッセージを設定します。

## 構文

```cpp theme={null}
HRESULT HCHttpCallResponseSetPlatformNetworkErrorMessage(  
         HCCallHandle call,  
         const char* platformNetworkErrorMessage  
)  
```

### パラメーター

*call*   \_In\_\
型: HCCallHandle

HTTP 呼び出しのハンドル。

*platformNetworkErrorMessage*   \_In\_z\_\
型: char\*

ログ/デバッグに使用される、HTTP 呼び出しのプラットフォーム固有のネットワーク エラー メッセージ。

### 戻り値

型: HRESULT

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

## 要件

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

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

## 関連項目

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


## Related topics

- [HCHttpCallResponseGetPlatformNetworkErrorMessage](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetplatformnetworkerrormessage.md)
- [HCHttpCallResponseSetNetworkErrorCode](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallresponsesetnetworkerrorcode.md)
- [XblHttpCallGetPlatformNetworkErrorMessage](/ja-jp/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetplatformnetworkerrormessage.md)
- [HCHttpCallResponseGetNetworkErrorCode](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetnetworkerrorcode.md)
- [HCMockResponseSetNetworkErrorCode](/ja-jp/reference/live/httpclient/mock/functions/hcmockresponsesetnetworkerrorcode.md)
