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