Class HttpResponseMessageExtensions
Version:
日本語翻訳に関する免責事項
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Extension methods for the class mainly to handle common errors which can happen when using Sitecore Content Hub REST API.
Inheritance
System.Object
HttpResponseMessageExtensions
Namespace: Stylelabs.M.Sdk.WebClient.Http
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
Methods
HandleErrors(HttpResponseMessage)
Inspects the specified response and throws
an instance of if it contains errors
(i.e. the response is not success).
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| HttpResponseMessage | response |
The response to inspect. |
Returns
| Type | Description |
|---|---|
| Task |