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