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