24 references to Context
System.ServiceModel (10)
System\ServiceModel\Channels\CallbackContextMessageProperty.cs (1)
212
context = (contextHeader != null) ? ContextMessageHeader.ParseContextHeader(contextHeader.GetAddressHeaderReader()).
Context
: null;
System\ServiceModel\Channels\ClientContextProtocol.cs (2)
76
return new Dictionary<string, string>(this.GetCurrentContext().
Context
);
251
if (contextMessageProperty.
Context
.Count == 0)
System\ServiceModel\Channels\ContextExchangeCorrelationHelper.cs (2)
38
contextProperties.
Context
.TryGetValue(ContextMessageProperty.InstanceIdKey, out instanceId);
51
contextProperties.
Context
.TryGetValue(ContextMessageProperty.InstanceIdKey, out instanceId);
System\ServiceModel\Channels\ContextMessageHeader.cs (1)
140
result.
Context
[propertyName] = reader.ReadElementString();
System\ServiceModel\Channels\ContextMessageProperty.cs (1)
123
return new ContextMessageProperty(this.
Context
);
System\ServiceModel\Channels\ContextProtocol.cs (3)
51
if (context.
Context
.Count > 0)
53
message.Headers.Add(new ContextMessageHeader(context.
Context
));
83
ContextMessageHeader contextHeader = new ContextMessageHeader(context.
Context
);
System.ServiceModel.Activities (5)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (2)
542
outgoingContextMessageProperty.
Context
.Add(ContextMessageProperty.InstanceIdKey, Guid.NewGuid().ToString());
547
outgoingContextMessageProperty.
Context
[ContextMessageProperty.InstanceIdKey] = Guid.NewGuid().ToString();
System\ServiceModel\Activities\InternalReceiveMessage.cs (2)
1032
if (contextProperties.
Context
!= null)
1035
if (contextProperties.
Context
.TryGetValue(InstanceIdKey, out instanceId))
System\ServiceModel\Activities\MessagingActivityHelper.cs (1)
209
context = contextMessageProperty.
Context
;
System.WorkflowServices (9)
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (1)
56
if (contextMessageProperty.
Context
.TryGetValue("instanceId", out stringInstanceId))
System\ServiceModel\Dispatcher\DurableInstanceContextProvider.cs (1)
205
if (contextProperties.
Context
.TryGetValue(WellKnownContextProperties.InstanceId, out instanceId))
System\ServiceModel\Dispatcher\DurableMessageDispatchInspector.cs (3)
64
context.
Context
.Clear();
77
context.
Context
[WellKnownContextProperties.InstanceId] = newInstanceId;
82
context.
Context
[WellKnownContextProperties.InstanceId] = newInstanceId;
System\ServiceModel\Dispatcher\WorkflowOperationAsyncResult.cs (2)
295
return incomingContextProperties.
Context
;
318
context.
Context
[contextElement.Key] = contextElement.Value;
System\Workflow\Activities\SendActivity.cs (1)
363
logicalChannel.Context = ContextMessageProperty.Empty.
Context
;
System\Workflow\Runtime\Hosting\ChannelManagerService.cs (1)
254
logicalChannel.Context = contextMessageProperty.
Context
;