12 instantiations of ContextMessageProperty
System.ServiceModel (5)
System\ServiceModel\Channels\ClientContextProtocol.cs (1)
188
ContextMessageProperty newContext = new
ContextMessageProperty
(context);
System\ServiceModel\Channels\ContextMessageHeader.cs (1)
118
ContextMessageProperty result = new
ContextMessageProperty
();
System\ServiceModel\Channels\ContextMessageProperty.cs (2)
57
ContextMessageProperty context = new
ContextMessageProperty
();
123
return new
ContextMessageProperty
(this.Context);
System\ServiceModel\Channels\ContextProtocol.cs (1)
114
context = new
ContextMessageProperty
();
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (1)
541
outgoingContextMessageProperty = new
ContextMessageProperty
();
System\ServiceModel\Activities\InternalSendMessage.cs (3)
1472
contextMessageProperty = new
ContextMessageProperty
(instance.CorrelationCallbackContext.Context);
1481
contextMessageProperty = new
ContextMessageProperty
(instance.CorrelationCallbackContext.Context);
1485
contextMessageProperty = new
ContextMessageProperty
(instance.CorrelationContext.Context);
System.WorkflowServices (3)
System\ServiceModel\Dispatcher\DurableMessageDispatchInspector.cs (1)
76
context = new
ContextMessageProperty
();
System\ServiceModel\Dispatcher\WorkflowOperationAsyncResult.cs (1)
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);
70 references to ContextMessageProperty
System.ServiceModel (42)
System\ServiceModel\Channels\ClientContextProtocol.cs (16)
16
ContextMessageProperty
context;
32
this.context =
ContextMessageProperty
.Empty;
86
ContextMessageProperty
incomingContext = null;
122
ContextMessageProperty
outgoingContext = null;
124
if (
ContextMessageProperty
.TryGet(message, out outgoingContext))
188
ContextMessageProperty
newContext = new ContextMessageProperty(context);
204
void EnsureInvariants(bool isServerIssued,
ContextMessageProperty
newContext)
249
string GetCookieHeaderFromContext(
ContextMessageProperty
contextMessageProperty)
261
ContextMessageProperty
GetCurrentContext()
263
ContextMessageProperty
result;
272
result =
ContextMessageProperty
.Empty;
288
ContextMessageProperty
OnReceiveHttpCookies(Message message)
290
ContextMessageProperty
newContext = null;
320
ContextMessageProperty
OnReceiveSoapContextHeader(Message message)
322
ContextMessageProperty
messageProperty = ContextMessageHeader.GetContextFromHeaderIfExists(message);
336
void OnSendHttpCookies(Message message,
ContextMessageProperty
context)
System\ServiceModel\Channels\ContextExchangeCorrelationHelper.cs (7)
33
ContextMessageProperty
contextProperties = null;
36
if (
ContextMessageProperty
.TryGet(message, out contextProperties))
38
contextProperties.Context.TryGetValue(
ContextMessageProperty
.InstanceIdKey, out instanceId);
46
ContextMessageProperty
contextProperties = null;
49
if (
ContextMessageProperty
.TryGet(operationContext.OutgoingMessageProperties, out contextProperties))
51
contextProperties.Context.TryGetValue(
ContextMessageProperty
.InstanceIdKey, out instanceId);
68
context.TryGetValue(
ContextMessageProperty
.InstanceIdKey, out instanceId);
System\ServiceModel\Channels\ContextMessageHeader.cs (4)
48
public static
ContextMessageProperty
GetContextFromHeaderIfExists(Message message)
59
ContextMessageProperty
context = ParseContextHeader(headers.GetReaderAtHeader(i));
111
internal static
ContextMessageProperty
ParseContextHeader(XmlReader reader)
118
ContextMessageProperty
result = new ContextMessageProperty();
System\ServiceModel\Channels\ContextMessageProperty.cs (7)
17
static
ContextMessageProperty
empty;
51
internal static
ContextMessageProperty
Empty
57
ContextMessageProperty
context = new ContextMessageProperty();
65
public static bool TryCreateFromHttpCookieHeader(string httpCookieHeader, out
ContextMessageProperty
context)
70
public static bool TryGet(Message message, out
ContextMessageProperty
contextMessageProperty)
80
public static bool TryGet(MessageProperties properties, out
ContextMessageProperty
contextMessageProperty)
90
contextMessageProperty = value as
ContextMessageProperty
;
System\ServiceModel\Channels\ContextProtocol.cs (3)
40
protected void OnSendSoapContextHeader(Message message,
ContextMessageProperty
context)
68
public static string EncodeContextAsHttpSetCookieHeader(
ContextMessageProperty
context, Uri uri)
97
public static bool TryCreateFromHttpCookieHeader(string httpCookieHeader, out
ContextMessageProperty
context)
System\ServiceModel\Channels\ServiceContextProtocol.cs (5)
55
ContextMessageProperty
messageContext;
56
if (
ContextMessageProperty
.TryGet(message, out messageContext))
95
ContextMessageProperty
messageContext;
106
ContextMessageProperty
messageContext = ContextMessageHeader.GetContextFromHeaderIfExists(message);
121
void OnSendHttpCookies(Message message,
ContextMessageProperty
context, Uri requestUri)
System.ServiceModel.Activities (13)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (4)
537
ContextMessageProperty
outgoingContextMessageProperty = null;
539
if (!
ContextMessageProperty
.TryGet(thisPtr.operationContext.OutgoingMessageProperties, out outgoingContextMessageProperty))
542
outgoingContextMessageProperty.Context.Add(
ContextMessageProperty
.InstanceIdKey, Guid.NewGuid().ToString());
547
outgoingContextMessageProperty.Context[
ContextMessageProperty
.InstanceIdKey] = Guid.NewGuid().ToString();
System\ServiceModel\Activities\InternalReceiveMessage.cs (3)
39
const string InstanceIdKey =
ContextMessageProperty
.InstanceIdKey;
1029
ContextMessageProperty
contextProperties = null;
1030
if (
ContextMessageProperty
.TryGet(messageProperties, out contextProperties))
System\ServiceModel\Activities\InternalSendMessage.cs (4)
998
ContextMessageProperty
contextProperties = null;
999
if (
ContextMessageProperty
.TryGet(instance.OperationContext.OutgoingMessageProperties, out contextProperties))
1466
ContextMessageProperty
contextMessageProperty = null;
1509
{
ContextMessageProperty
.InstanceIdKey, contextValue }
System\ServiceModel\Activities\MessagingActivityHelper.cs (2)
205
ContextMessageProperty
contextMessageProperty;
206
if (
ContextMessageProperty
.TryGet(messageProperties, out contextMessageProperty))
System.WorkflowServices (15)
AssemblyInfo.cs (1)
16
[assembly: TypeForwardedTo(typeof(System.ServiceModel.Channels.
ContextMessageProperty
))]
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (2)
52
ContextMessageProperty
contextMessageProperty;
53
if (
ContextMessageProperty
.TryGet(operationContext.IncomingMessageProperties, out contextMessageProperty))
System\ServiceModel\Dispatcher\DurableInstanceContextProvider.cs (2)
200
ContextMessageProperty
contextProperties = null;
203
if (
ContextMessageProperty
.TryGet(message, out contextProperties))
System\ServiceModel\Dispatcher\DurableMessageDispatchInspector.cs (3)
58
ContextMessageProperty
context = null;
62
if (
ContextMessageProperty
.TryGet(reply, out context))
74
if (!
ContextMessageProperty
.TryGet(reply, out context))
System\ServiceModel\Dispatcher\WorkflowOperationAsyncResult.cs (4)
291
ContextMessageProperty
incomingContextProperties = null;
293
&&
ContextMessageProperty
.TryGet(OperationContext.Current.IncomingMessageProperties, out incomingContextProperties))
309
ContextMessageProperty
context;
310
if (!
ContextMessageProperty
.TryGet(OperationContext.Current.OutgoingMessageProperties, out context))
System\Workflow\Activities\SendActivity.cs (1)
363
logicalChannel.Context =
ContextMessageProperty
.Empty.Context;
System\Workflow\Runtime\Hosting\ChannelManagerService.cs (2)
249
ContextMessageProperty
contextMessageProperty;
252
if (properties != null &&
ContextMessageProperty
.TryGet(properties, out contextMessageProperty))