1 write to operationContext
System.Data.Services (1)
System\Data\Services\HttpContextServiceHost.cs (1)
62
this.
operationContext
= WebOperationContext.Current;
33 references to operationContext
System.Data.Services (33)
System\Data\Services\HttpContextServiceHost.cs (33)
63
if (this.
operationContext
== null)
83
return this.
operationContext
.IncomingRequest.Headers[HttpRequestHeader.AcceptCharset];
92
return this.
operationContext
.OutgoingResponse.ContentType;
97
this.
operationContext
.OutgoingResponse.ContentType = value;
106
return this.
operationContext
.IncomingRequest.ContentType;
117
return this.
operationContext
.IncomingRequest.Accept;
129
string[] methodValues = this.
operationContext
.IncomingRequest.Headers.GetValues(XmlConstants.HttpXMethod);
132
result = this.
operationContext
.IncomingRequest.Method;
137
if (this.
operationContext
.IncomingRequest.Method != XmlConstants.HttpMethodPost)
161
return this.
operationContext
.IncomingRequest.Headers[HttpRequestHeader.IfMatch];
170
return this.
operationContext
.IncomingRequest.Headers[HttpRequestHeader.IfNoneMatch];
179
return this.
operationContext
.IncomingRequest.Headers[XmlConstants.HttpMaxDataServiceVersion];
188
return this.
operationContext
.IncomingRequest.Headers[XmlConstants.HttpDataServiceVersion];
211
UriTemplateMatch match = this.
operationContext
.IncomingRequest.UriTemplateMatch;
223
get { return this.
operationContext
.OutgoingResponse.Headers[HttpResponseHeader.CacheControl]; }
224
set { this.
operationContext
.OutgoingResponse.Headers[HttpResponseHeader.CacheControl] = value; }
232
return this.
operationContext
.OutgoingResponse.ETag;
237
this.
operationContext
.OutgoingResponse.ETag = value;
244
get { return this.
operationContext
.OutgoingResponse.Headers[HttpResponseHeader.Location]; }
245
set { this.
operationContext
.OutgoingResponse.Headers[HttpResponseHeader.Location] = value; }
255
return (int) this.
operationContext
.OutgoingResponse.StatusCode;
261
this.
operationContext
.OutgoingResponse.StatusCode = statusCode;
267
this.
operationContext
.OutgoingResponse.SuppressEntityBody = MustNotReturnMessageBody(statusCode);
290
get { return this.
operationContext
.OutgoingResponse.Headers[XmlConstants.HttpDataServiceVersion]; }
291
set { this.
operationContext
.OutgoingResponse.Headers[XmlConstants.HttpDataServiceVersion] = value; }
313
UriTemplateMatch match = this.
operationContext
.IncomingRequest.UriTemplateMatch;
354
get { return this.
operationContext
.IncomingRequest.Headers; }
361
get { return this.
operationContext
.OutgoingResponse.Headers; }
375
get { return this.
operationContext
.IncomingRequest.Headers[HttpRequestHeader.Host]; }
393
System.Collections.Specialized.NameValueCollection collection = this.
operationContext
.IncomingRequest.UriTemplateMatch.QueryParameters;
436
Debug.Assert(this.
operationContext
!= null, "this.operationContext != null");
444
this.
operationContext
.OutgoingResponse.Headers[HttpResponseHeader.Allow] = args.ResponseAllowHeader;
453
System.Collections.Specialized.NameValueCollection collection = this.
operationContext
.IncomingRequest.UriTemplateMatch.QueryParameters;