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