2 writes to OperationContext
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\InternalSendMessage.cs (2)
960
instance.
OperationContext
= instance.ResponseContext.WorkflowOperationContext.OperationContext;
1446
instance.
OperationContext
= (contextChannel == null) ? null : new OperationContext(contextChannel);
11 references to OperationContext
System.ServiceModel.Activities (11)
System\ServiceModel\Activities\InternalSendMessage.cs (11)
971
Collection<CorrelationQueryBehavior> correlationQueryBehaviors = instance.
OperationContext
.Channel.Extensions.FindAll<CorrelationQueryBehavior>();
999
if (ContextMessageProperty.TryGet(instance.
OperationContext
.OutgoingMessageProperties, out contextProperties))
1003
CorrelationDataMessageProperty.AddData(instance.RequestOrReply, ContextExchangeCorrelationHelper.CorrelationName, () => ContextExchangeCorrelationHelper.GetContextCorrelationData(instance.
OperationContext
));
1011
instance.
OperationContext
.OutgoingMessageProperties.Add(CorrelationCallbackMessageProperty.Name,
1821
OperationContext.Current = this.instance.
OperationContext
;
1845
this.instance.RequestContext.ReceiveReply(this.instance.
OperationContext
, reply);
1913
OperationContext.Current = thisPtr.instance.
OperationContext
;
1925
thisPtr.instance.RequestContext.ReceiveAsyncReply(thisPtr.instance.
OperationContext
, reply, null);
1941
thisPtr.instance.RequestContext.ReceiveAsyncReply(thisPtr.instance.
OperationContext
, null, exception);
1976
OperationContext.Current = thisPtr.instance.
OperationContext
;
2550
sendMessageCallback.OnSendMessage(this.
OperationContext
);