35 references to OutgoingMessageProperties
System.ServiceModel (9)
System\ServiceModel\Channels\ContextExchangeCorrelationHelper.cs (1)
49if (ContextMessageProperty.TryGet(operationContext.OutgoingMessageProperties, out contextProperties))
System\ServiceModel\Channels\ServiceChannel.cs (1)
1267message.Properties.CopyProperties(context.OutgoingMessageProperties);
System\ServiceModel\Diagnostics\TraceUtility.cs (6)
1155OperationContext.Current.OutgoingMessageProperties[TraceUtility.AsyncOperationActivityKey] = activity; 1162if (OperationContext.Current != null && OperationContext.Current.OutgoingMessageProperties.TryGetValue(TraceUtility.AsyncOperationActivityKey, out data)) 1164OperationContext.Current.OutgoingMessageProperties.Remove(TraceUtility.AsyncOperationActivityKey); 1173OperationContext.Current.OutgoingMessageProperties[TraceUtility.AsyncOperationStartTimeKey] = new EventTraceActivityTimeProperty(eventTraceActivity, startTime); 1182if (OperationContext.Current != null && OperationContext.Current.OutgoingMessageProperties.TryGetValue<EventTraceActivityTimeProperty>(TraceUtility.AsyncOperationStartTimeKey, out data)) 1184OperationContext.Current.OutgoingMessageProperties.Remove(TraceUtility.AsyncOperationStartTimeKey);
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
725message.Properties.MergeProperties(context.OutgoingMessageProperties);
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (2)
539if (!ContextMessageProperty.TryGet(thisPtr.operationContext.OutgoingMessageProperties, out outgoingContextMessageProperty)) 543outgoingContextMessageProperty.AddOrReplaceInMessageProperties(thisPtr.operationContext.OutgoingMessageProperties);
System\ServiceModel\Activities\InternalSendMessage.cs (2)
999if (ContextMessageProperty.TryGet(instance.OperationContext.OutgoingMessageProperties, out contextProperties)) 1011instance.OperationContext.OutgoingMessageProperties.Add(CorrelationCallbackMessageProperty.Name,
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\DiscoveryOperationContext.cs (1)
133responseOperationContext.OutgoingMessageProperties.Add(
System\ServiceModel\Discovery\UdpReplyToBehavior.cs (1)
133if (OperationContext.Current.OutgoingMessageProperties.TryGetValue(
System.ServiceModel.Web (16)
System\ServiceModel\Description\WebHttpBehavior.cs (2)
1318!OperationContext.Current.OutgoingMessageProperties.TryGetValue<JavascriptCallbackResponseMessageProperty>(JavascriptCallbackResponseMessageProperty.Name, out javascriptProperty)) 1332OperationContext.Current.OutgoingMessageProperties.Add(JavascriptCallbackResponseMessageProperty.Name, javascriptProperty);
System\ServiceModel\Dispatcher\WebErrorHandler.cs (1)
94if (OperationContext.Current.OutgoingMessageProperties.TryGetValue<HttpResponseMessageProperty>(HttpResponseMessageProperty.Name, out property) &&
System\ServiceModel\Web\OutgoingWebRequestContext.cs (3)
92if (!operationContext.OutgoingMessageProperties.ContainsKey(HttpRequestMessageProperty.Name)) 94operationContext.OutgoingMessageProperties.Add(HttpRequestMessageProperty.Name, new HttpRequestMessageProperty()); 96return operationContext.OutgoingMessageProperties[HttpRequestMessageProperty.Name] as HttpRequestMessageProperty;
System\ServiceModel\Web\OutgoingWebResponseContext.cs (10)
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; 182if (!operationContext.OutgoingMessageProperties.ContainsKey(HttpResponseMessageProperty.Name)) 184operationContext.OutgoingMessageProperties.Add(HttpResponseMessageProperty.Name, new HttpResponseMessageProperty()); 186return operationContext.OutgoingMessageProperties[HttpResponseMessageProperty.Name] as HttpResponseMessageProperty;
System.WorkflowServices (4)
System\ServiceModel\Dispatcher\DurableMessageDispatchInspector.cs (1)
25operationContext.OutgoingMessageProperties[suppressContextOnReply] = true;
System\ServiceModel\Dispatcher\WorkflowOperationAsyncResult.cs (2)
310if (!ContextMessageProperty.TryGet(OperationContext.Current.OutgoingMessageProperties, out context)) 312new ContextMessageProperty(this.outgoingContextProperties).AddOrReplaceInMessageProperties(OperationContext.Current.OutgoingMessageProperties);
System\Workflow\Runtime\Hosting\ChannelManagerService.cs (1)
172new ContextMessageProperty(logicalChannel.Context).AddOrReplaceInMessageProperties(OperationContext.Current.OutgoingMessageProperties);