68 references to MessagingActivityHelper
System.ServiceModel.Activities (68)
System\ServiceModel\Activities\InternalReceiveMessage.cs (20)
487ReceiveMessageRecord messageFlowTrackingRecord = new ReceiveMessageRecord(MessagingActivityHelper.MessageCorrelationReceiveRecord) 505{ MessagingActivityHelper.ActivityName, this.DisplayName }, 506{ MessagingActivityHelper.ActivityType, MessagingActivityHelper.MessagingActivityTypeActivityExecution }, 507{ MessagingActivityHelper.ActivityInstanceId, executionContext.ActivityInstanceId } 561MessagingActivityHelper.InitializeCorrelationHandles(executionContext, correlatesWithHandle, ambientHandle, this.correlationInitializers, 685instance.CorrelationRequestContext.Reply = MessagingActivityHelper.InitializeCorrelationHandles(executionContext, 721IList<IReceiveMessageCallback> receiveMessageCallbacks = MessagingActivityHelper.GetCallbacks<IReceiveMessageCallback>(executionContext.Properties); 836{ MessagingActivityHelper.ActivityName, this.DisplayName }, 837{ MessagingActivityHelper.ActivityType, MessagingActivityHelper.MessagingActivityTypeActivityExecution }, 838{ MessagingActivityHelper.ActivityInstanceId, executionContext.ActivityInstanceId } 920MessagingActivityHelper.InitializeCorrelationHandles(executionContext, null, ambientHandle, this.correlationInitializers, messageProperties); 927MessagingActivityHelper.InitializeCorrelationHandles(executionContext, contextCorrelationHandle, ambientHandle, null, contextCorrelationInstanceKey, null); 955MessagingActivityHelper.InitializeCorrelationHandles(executionContext, correlatesWithHandle, ambientHandle, this.correlationInitializers, messageProperties); 962MessagingActivityHelper.InitializeCorrelationHandles(executionContext, requestReplyHandle, ambientHandle, null, requestReplyCorrelationInstanceKey, null); 980MessagingActivityHelper.InitializeCorrelationHandles(executionContext, callbackContextCorrelationHandle, ambientHandle, null, callbackContextCorrelationInstanceKey, null); 1110MessagingActivityHelper.CreateCorrelationCallbackContext(responseContext.WorkflowOperationContext.OperationContext.IncomingMessageProperties); 1184MessagingActivityHelper.CreateCorrelationCallbackContext(this.CorrelationRequestContext.Reply.Properties); 1187MessagingActivityHelper.CreateCorrelationContext(this.CorrelationRequestContext.Reply.Properties);
System\ServiceModel\Activities\InternalSendMessage.cs (22)
887MessagingActivityHelper.InitializeCorrelationHandles(context, contextCorrelationHandle, ambientCorrelationHandle, this.correlationInitializers, correlationMessageProperty.CorrelationKey, correlationMessageProperty.AdditionalKeys); 893MessagingActivityHelper.InitializeCorrelationHandles(context, callbackCorrelationHandle, ambientCorrelationHandle, this.correlationInitializers, correlationMessageProperty.CorrelationKey, correlationMessageProperty.AdditionalKeys); 1064{ MessagingActivityHelper.ActivityName, this.DisplayName }, 1065{ MessagingActivityHelper.ActivityType, MessagingActivityHelper.MessagingActivityTypeActivityExecution }, 1066{ MessagingActivityHelper.ActivityInstanceId, context.ActivityInstanceId } 1166new SendMessageRecord(MessagingActivityHelper.MessageCorrelationSendRecord) 1176{ MessagingActivityHelper.ActivityName, this.DisplayName }, 1177{ MessagingActivityHelper.ActivityType, MessagingActivityHelper.MessagingActivityTypeActivityExecution }, 1178{ MessagingActivityHelper.ActivityInstanceId, context.ActivityInstanceId } 1202{ MessagingActivityHelper.ActivityName, this.DisplayName }, 1203{ MessagingActivityHelper.ActivityType, MessagingActivityHelper.MessagingActivityTypeActivityExecution }, 1204{ MessagingActivityHelper.ActivityInstanceId, context.ActivityInstanceId } 1470if (MessagingActivityHelper.CompareContextEquality(instance.CorrelationCallbackContext.Context, instance.CorrelationContext.Context)) 1558instance.RequestOrReply = MessagingActivityHelper.InitializeCorrelationHandles(context, 2018{ MessagingActivityHelper.ActivityName, this.instance.Activity.DisplayName }, 2019{ MessagingActivityHelper.ActivityType, MessagingActivityHelper.MessagingActivityTypeActivityExecution }, 2020{ MessagingActivityHelper.ActivityInstanceId, this.instance.ActivityInstanceId } 2336this.sendMessageCallbacks = MessagingActivityHelper.GetCallbacks<ISendMessageCallback>(context.Properties);
System\ServiceModel\Activities\Receive.cs (2)
353MessagingActivityHelper.ValidateCorrelationInitializer(metadata, this.correlationInitializers, false, this.DisplayName, this.OperationName); 356MessagingActivityHelper.AddRuntimeArgument(this.CorrelatesWith, "CorrelatesWith", Constants.CorrelationHandleType, ArgumentDirection.In, metadata);
System\ServiceModel\Activities\ReceiveMessageContent.cs (1)
93MessagingActivityHelper.FixMessageArgument(this.Message, ArgumentDirection.Out, metadata);
System\ServiceModel\Activities\ReceiveReply.cs (2)
131MessagingActivityHelper.ValidateCorrelationInitializer(metadata, this.correlationInitializers, true, this.DisplayName, (this.Request != null ? this.Request.OperationName : String.Empty)); 156InArgument<CorrelationHandle> resultCorrelatesWith = MessagingActivityHelper.CreateReplyCorrelatesWith(requestReplyHandleFromSend);
System\ServiceModel\Activities\Send.cs (3)
268MessagingActivityHelper.ValidateCorrelationInitializer(metadata, this.correlationInitializers, false, this.DisplayName, this.OperationName); 271MessagingActivityHelper.AddRuntimeArgument(this.CorrelatesWith, "CorrelatesWith", Constants.CorrelationHandleType, ArgumentDirection.In, metadata); 272MessagingActivityHelper.AddRuntimeArgument(this.EndpointAddress, "EndpointAddress", Constants.UriType, ArgumentDirection.In, metadata);
System\ServiceModel\Activities\SendMessageContent.cs (1)
108MessagingActivityHelper.FixMessageArgument(this.Message, ArgumentDirection.In, metadata);
System\ServiceModel\Activities\SendReply.cs (3)
133MessagingActivityHelper.ValidateCorrelationInitializer(metadata, this.correlationInitializers, true, this.DisplayName, (this.Request != null ? this.Request.OperationName : String.Empty)); 159InArgument<CorrelationHandle> internalSendCorrelatesWith = MessagingActivityHelper.CreateReplyCorrelatesWith(requestReplyHandleFromReceive); 169InArgument<CorrelationHandle> responseFormatterCorrelatesWith = MessagingActivityHelper.CreateReplyCorrelatesWith(requestReplyHandleFromReceive);
System\ServiceModel\Activities\Tracking\ReceiveMessageRecord.cs (3)
27return (Guid)this.Data[MessagingActivityHelper.E2EActivityId]; 32this.Data[MessagingActivityHelper.E2EActivityId] = value; 40return (Guid)this.Data[MessagingActivityHelper.MessageId];
System\ServiceModel\Activities\Tracking\SendMessageRecord.cs (2)
27this.Data[MessagingActivityHelper.E2EActivityId] = value; 32return (Guid)this.Data[MessagingActivityHelper.E2EActivityId];
System\ServiceModel\Activities\WorkflowOperationContext.cs (9)
342this.OperationContext.IncomingMessageProperties[MessagingActivityHelper.E2EActivityId] = this.E2EActivityId; 348{ MessagingActivityHelper.ActivityName, MessagingActivityHelper.ActivityNameWorkflowOperationInvoke }, 349{ MessagingActivityHelper.ActivityType, MessagingActivityHelper.ActivityTypeExecuteUserCode } 418{ MessagingActivityHelper.ActivityName, MessagingActivityHelper.ActivityNameWorkflowOperationInvoke }, 419{ MessagingActivityHelper.ActivityType, MessagingActivityHelper.ActivityTypeExecuteUserCode }