1 write to operationContext
System.ServiceModel.Web (1)
System\ServiceModel\Web\OutgoingWebResponseContext.cs (1)
29this.operationContext = operationContext;
12 references to operationContext
System.ServiceModel.Web (12)
System\ServiceModel\Web\OutgoingWebResponseContext.cs (12)
107if (!operationContext.OutgoingMessageProperties.ContainsKey(WebResponseFormatPropertyName)) 111return operationContext.OutgoingMessageProperties[WebResponseFormatPropertyName] as WebMessageFormat?; 123operationContext.OutgoingMessageProperties[WebResponseFormatPropertyName] = value.Value; 128operationContext.OutgoingMessageProperties[WebResponseFormatPropertyName] = null; 142if (!operationContext.OutgoingMessageProperties.ContainsKey(AutomatedFormatSelectionContentTypePropertyName)) 146return operationContext.OutgoingMessageProperties[AutomatedFormatSelectionContentTypePropertyName] as string; 150operationContext.OutgoingMessageProperties[AutomatedFormatSelectionContentTypePropertyName] = value; 160string endpointId = this.operationContext.EndpointDispatcher.Id; 162foreach (ServiceEndpoint endpoint in this.operationContext.Host.Description.Endpoints) 182if (!operationContext.OutgoingMessageProperties.ContainsKey(HttpResponseMessageProperty.Name)) 184operationContext.OutgoingMessageProperties.Add(HttpResponseMessageProperty.Name, new HttpResponseMessageProperty()); 186return operationContext.OutgoingMessageProperties[HttpResponseMessageProperty.Name] as HttpResponseMessageProperty;