2 writes to Action
System.ServiceModel (2)
System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (2)
103
message.
Action
= "*";
107
message.
Action
= soapAction;
66 references to Action
System.ServiceModel (49)
System\ServiceModel\Administration\ContractInstanceProvider.cs (2)
77
operation.SetProperty(AdministrationStrings.Action, FixWildcardAction(operationDescription.Messages[0].
Action
));
80
operation.SetProperty(AdministrationStrings.ReplyAction, FixWildcardAction(operationDescription.Messages[1].
Action
));
System\ServiceModel\Channels\SecurityBindingElement.cs (6)
2357
if (scopedParts.TryGetParts(message.
Action
, out parts))
2372
if (scopedParts.TryGetParts(message.
Action
, out parts))
2417
if (binding.OperationSupportingTokenParameters.ContainsKey(message.
Action
))
2419
requirements = binding.OperationSupportingTokenParameters[message.
Action
];
2421
if (binding.OptionalOperationSupportingTokenParameters.ContainsKey(message.
Action
))
2423
optionalRequirements = binding.OptionalOperationSupportingTokenParameters[message.
Action
];
System\ServiceModel\Channels\SecurityBindingElementImporter.cs (3)
56
requestAction = message.
Action
;
275
ProtectionLevel newProtectionLevel = GetProtectionLevel(messageSignedParts.IsBodyIncluded, messageEncryptedParts.IsBodyIncluded, message.
Action
);
319
newProtectionLevel = GetProtectionLevel(signed, encrypted, message.
Action
);
System\ServiceModel\ComIntegration\DispatchProxy.cs (1)
238
action = mInfo.opDesc.Messages[0].
Action
;
System\ServiceModel\Description\DispatcherBuilder.cs (5)
976
child = new ClientOperation(parent, operation.Name, operation.Messages[0].
Action
);
980
child = new ClientOperation(parent, operation.Name, operation.Messages[0].
Action
,
981
operation.Messages[1].
Action
);
1003
string requestAction = operation.Messages[0].
Action
;
1011
string replyAction = operation.Messages[1].
Action
;
System\ServiceModel\Description\MessageContractExporter.cs (1)
683
soapOperationBinding.SoapAction = operation.Messages[0].
Action
;
System\ServiceModel\Description\MessageDescriptionCollection.cs (2)
21
if (description != null && action == description.
Action
)
33
if (description != null && action == description.
Action
)
System\ServiceModel\Description\OperationGenerator.cs (6)
392
CustomAttributeHelper.FindOrCreateAttributeDeclaration<OperationContractAttribute>(this.Method.CustomAttributes), OperationContractAttribute.ActionPropertyName, this.Request.
Action
);
397
CustomAttributeHelper.FindOrCreateAttributeDeclaration<OperationContractAttribute>(this.Method.CustomAttributes), OperationContractAttribute.ReplyActionPropertyName, this.Response.
Action
);
896
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_MessageHasProtectionLevel, parent.Request.
Action
== null ? "" : parent.Request.
Action
)));
900
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_MessageHasProtectionLevel, parent.Response.
Action
== null ? "" : parent.Response.
Action
)));
System\ServiceModel\Description\TypeLoader.cs (6)
1664
if (this.syncOperation.Messages[index].
Action
!= this.asyncOperation.Messages[index].
Action
)
1783
if (this.syncOperation.Messages[index].
Action
!= this.taskOperation.Messages[index].
Action
)
1907
if (this.taskOperation.Messages[index].
Action
!= this.asyncOperation.Messages[index].
Action
)
System\ServiceModel\Description\WsdlExporter.cs (2)
290
WSAddressingHelper.AddActionAttribute(message.
Action
, wsdlOperationMessage, this.PolicyVersion);
429
if (operation.Messages[i].
Action
== MessageHeaders.WildcardAction)
System\ServiceModel\Diagnostics\ServiceModelPerformanceCounters.cs (3)
44
if (null != opDescription.Messages[0].
Action
&& !this.actionToOperation.Keys.Contains(opDescription.Messages[0].
Action
))
46
this.actionToOperation.Add(opDescription.Messages[0].
Action
, opDescription.Name);
System\ServiceModel\Dispatcher\OperationFormatter.cs (3)
524
actionString = description.Messages[0].
Action
;
528
replyActionString = description.Messages[1].
Action
;
571
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(SR.GetString(SR.SFxTypedMessageCannotBeNull, description.
Action
)));
System\ServiceModel\Security\ChannelProtectionRequirements.cs (4)
309
requirements.IncomingSignatureParts.AddParts(signedParts, message.
Action
);
310
requirements.IncomingEncryptionParts.AddParts(encryptedParts, message.
Action
);
314
requirements.OutgoingSignatureParts.AddParts(signedParts, message.
Action
);
315
requirements.OutgoingEncryptionParts.AddParts(encryptedParts, message.
Action
);
System\ServiceModel\Security\WSSecurityPolicy.cs (4)
1376
if (scopedParts.TryGetParts(message.
Action
, out parts))
3007
if (message.
Action
== trustDriver.RequestSecurityTokenAction.Value && message.Direction == MessageDirection.Input)
3011
else if ((((trustDriver.StandardsManager.TrustVersion == TrustVersion.WSTrustFeb2005) && (message.
Action
== trustDriver.RequestSecurityTokenResponseAction.Value)) ||
3012
((trustDriver.StandardsManager.TrustVersion == TrustVersion.WSTrust13) && (message.
Action
== trustDriver.RequestSecurityTokenResponseFinalAction.Value))) &&
System\ServiceModel\TransactionFlowAttribute.cs (1)
65
dictionary[new DirectionalAction(description.Messages[0].Direction, description.Messages[0].
Action
)] = this.transactions;
System.ServiceModel.Activities (13)
System\ServiceModel\Activities\ClientOperationFormatterProvider.cs (1)
46
System.ServiceModel.Dispatcher.ClientOperation clientOperation = new System.ServiceModel.Dispatcher.ClientOperation(DummyClientRuntime, operationDescription.Name, operationDescription.Messages[0].
Action
);
System\ServiceModel\Activities\ContractInferenceHelper.cs (2)
656
string action = !isResponse ? operation.Messages[0].
Action
: operation.Messages[1].
Action
;
System\ServiceModel\Activities\ContractValidationHelper.cs (3)
194
if (overridingAction == null && targetMessage.
Action
!= NamingHelper.GetMessageAction(targetOperation, isResponse)
195
|| overridingAction != null && overridingAction != targetMessage.
Action
)
197
Constraint.AddValidationError(context, new ValidationError(SR2.PropertyMismatch(overridingAction, "Action", targetMessage.
Action
, targetOperation.Name, targetOperation.DeclaringContract.Name)));
System\ServiceModel\Activities\Description\CorrelationQueryBehavior.cs (2)
222
inAction = operation.Messages[0].
Action
;
227
outAction = operation.Messages[1].
Action
;
System\ServiceModel\Activities\InternalSendMessage.cs (2)
3262
return (m1.
Action
== m2.
Action
&& m1.Direction == m2.Direction);
System\ServiceModel\Activities\Receive.cs (1)
501
receiveActivity.Action = operation.Messages[0].
Action
;
System\ServiceModel\Activities\SendReply.cs (1)
279
reply.Action = operation.Messages[1].
Action
;
System\ServiceModel\Activities\ServiceOperationFormatterProvider.cs (1)
36
System.ServiceModel.Dispatcher.DispatchOperation dispatchOperation = new System.ServiceModel.Dispatcher.DispatchOperation(DummyDispatchRuntime, operationDescription.Name, operationDescription.Messages[0].
Action
);
System.ServiceModel.Web (3)
System\ServiceModel\Description\WebHttpBehavior.cs (1)
190
&& od.Messages[0].
Action
== WildcardAction)
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (2)
302
DispatchOperation dispatchOperation = new DispatchOperation(metadataEndpointDispatcher.DispatchRuntime, metadataOperation.Name, metadataOperation.Messages[0].
Action
, metadataOperation.Messages[1].
Action
);
System.WorkflowServices (1)
System\ServiceModel\Description\WorkflowServiceBehavior.cs (1)
398
provider.InitiatingActions.Add(operation.Messages[0].
Action
);