1 write to OperationContext
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\WorkflowOperationContext.cs (1)
77
this.
OperationContext
= operationContext;
30 references to OperationContext
System.ServiceModel.Activities (30)
System\ServiceModel\Activities\Description\WorkflowOperationBehavior.cs (1)
112
if (CorrelationMessageProperty.TryGet(context.
OperationContext
.IncomingMessageProperties, out correlationMessageProperty))
System\ServiceModel\Activities\InternalReceiveMessage.cs (6)
404
Fx.Assert(workflowContext.
OperationContext
!= null, "InternalReceiveMessage.SetupTransaction - Operation Context was null");
405
Fx.Assert(workflowContext.
OperationContext
.TransactionFacet != null, "InternalReceiveMessage.SetupTransaction - Transaction Facet was null");
406
transactedReceiveData.InitiatingTransaction = workflowContext.
OperationContext
.TransactionFacet.Current;
562
instance.CorrelationResponseContext.WorkflowOperationContext.
OperationContext
.IncomingMessageProperties);
1110
MessagingActivityHelper.CreateCorrelationCallbackContext(responseContext.WorkflowOperationContext.
OperationContext
.IncomingMessageProperties);
1172
return this.CorrelationResponseContext.WorkflowOperationContext.
OperationContext
;
System\ServiceModel\Activities\InternalSendMessage.cs (1)
960
instance.OperationContext = instance.ResponseContext.WorkflowOperationContext.
OperationContext
;
System\ServiceModel\Activities\WorkflowHostingEndpoint.cs (2)
129
if (CorrelationMessageProperty.TryGet(context.
OperationContext
.IncomingMessageProperties, out correlationMessageProperty))
140
Bookmark bookmark = ((WorkflowHostingEndpoint)context.ServiceEndpoint).OnResolveBookmark(context.Inputs, context.
OperationContext
, responseContext, out value);
System\ServiceModel\Activities\WorkflowOperationContext.cs (20)
100
this.e2eActivityId = TraceUtility.GetReceivedActivityId(this.
OperationContext
);
106
this.eventTraceActivity = EventTraceActivityHelper.TryExtractActivity(this.
OperationContext
.IncomingMessage);
112
if (!ReceiveContext.TryGet(this.
OperationContext
.IncomingMessageProperties, out this.receiveContext))
117
this.
OperationContext
.IncomingMessageProperties.Remove(ReceiveContext.Name);
337
this.e2eActivityId = TraceUtility.GetReceivedActivityId(this.
OperationContext
);
342
this.
OperationContext
.IncomingMessageProperties[MessagingActivityHelper.E2EActivityId] = this.E2EActivityId;
445
using (new OperationContextScopeHelper(this.
OperationContext
))
465
using (new OperationContextScopeHelper(this.
OperationContext
))
467
TD2.OperationInvoked(this.eventTraceActivity, this.operationName, TraceUtility.GetCallerInfo(this.
OperationContext
));
477
using (new OperationContextScopeHelper(this.
OperationContext
))
484
using (new OperationContextScopeHelper(this.
OperationContext
))
497
using (new OperationContextScopeHelper(this.
OperationContext
))
504
using (new OperationContextScopeHelper(this.
OperationContext
))
534
using (new OperationContextScopeHelper(this.
OperationContext
))
541
using (new OperationContextScopeHelper(this.
OperationContext
))
573
string sessionId = this.
OperationContext
.SessionId;
601
this.workflowInstance.RemovePendingOperation(this.
OperationContext
.SessionId, this.pendingAsyncResult);
671
thisPtr.
OperationContext
.Host.RaiseUnknownMessageReceived(thisPtr.
OperationContext
.IncomingMessage);
677
thisPtr.
OperationContext
, thisPtr.receiveContext, thisPtr.bookmark.Name, BufferedReceiveState.WaitingOnBookmark, false);