2 writes to batchResponse
System.Data.Services.Client (2)
System\Data\Services\Client\DataServiceContext.cs (2)
4294
this.
batchResponse
= httpWebResponse;
4504
System.Threading.Interlocked.CompareExchange(ref this.
batchResponse
, pereq.HttpWebResponse, null);
13 references to batchResponse
System.Data.Services.Client (13)
System\Data\Services\Client\DataServiceContext.cs (13)
5281
if ((null == this.
batchResponse
) || (HttpStatusCode.NoContent == this.
batchResponse
.StatusCode))
5286
headers = WebUtil.WrapResponseHeaders(this.
batchResponse
);
5288
this.
batchResponse
.StatusCode, // statusCode
5289
this.
batchResponse
.Headers[XmlConstants.HttpDataServiceVersion], // responseVersion
5293
if (!BatchStream.GetBoundaryAndEncodingFromMultipartMixedContentType(this.
batchResponse
.ContentType, out boundary, out encoding))
5297
HttpProcessUtility.ReadContentType(this.
batchResponse
.ContentType, out mime, out encoding);
5300
inner = GetResponseText(this.
batchResponse
.GetResponseStream, this.
batchResponse
.StatusCode);
5303
throw Error.InvalidOperation(Strings.Batch_ExpectedContentType(this.
batchResponse
.ContentType), inner);
5311
this.DataServiceResponse = new DataServiceResponse(headers, (int)this.
batchResponse
.StatusCode, this.Responses, true /*batchResponse*/);
5366
int statusCode = this.
batchResponse
== null ? (int)HttpStatusCode.InternalServerError : (int)this.
batchResponse
.StatusCode;