1 write to _httpResponseMessage
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpResponseMessageHelper.cs (1)
32
_httpResponseMessage
= httpResponseMessage;
18 references to _httpResponseMessage
System.ServiceModel.Http (18)
System\ServiceModel\Channels\HttpResponseMessageHelper.cs (18)
124
HttpResponseMessageProperty responseProperty = new HttpResponseMessageProperty(
_httpResponseMessage
);
132
var content =
_httpResponseMessage
.Content;
171
var content =
_httpResponseMessage
.Content;
306
var content =
_httpResponseMessage
.Content;
344
if (((int)
_httpResponseMessage
.StatusCode < 200 || (int)
_httpResponseMessage
.StatusCode >= 300) &&
_httpResponseMessage
.StatusCode != HttpStatusCode.InternalServerError)
346
if (
_httpResponseMessage
.StatusCode == HttpStatusCode.NotFound)
351
if (
_httpResponseMessage
.StatusCode == HttpStatusCode.ServiceUnavailable)
356
if (
_httpResponseMessage
.StatusCode == HttpStatusCode.UnsupportedMediaType)
358
string statusDescription =
_httpResponseMessage
.ReasonPhrase;
369
if (
_httpResponseMessage
.StatusCode == HttpStatusCode.GatewayTimeout)
371
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(
_httpResponseMessage
.StatusCode + " " +
_httpResponseMessage
.ReasonPhrase));
374
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(HttpChannelUtilities.CreateUnexpectedResponseException(
_httpResponseMessage
));
380
if (
_httpResponseMessage
.StatusCode == HttpStatusCode.Unauthorized)
383
_httpResponseMessage
.Headers.WwwAuthenticate.ToString());
388
if (
_httpResponseMessage
.StatusCode == HttpStatusCode.Forbidden)