9 writes to Action
System.ServiceModel (8)
System\ServiceModel\Channels\HttpChannelHelpers.cs (3)
334message.Headers.Action = action; 1249message.Headers.Action = null; 1381message.Headers.Action = null;
System\ServiceModel\Channels\Message.cs (1)
982this.headers.Action = action;
System\ServiceModel\Channels\MessageBuffer.cs (1)
167msg.Headers.Action = this.action;
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
1000message.Headers.Action = WebSocketTransportSettings.BinaryMessageReceivedAction; 1006message.Headers.Action = WebSocketTransportSettings.TextMessageReceivedAction;
System\ServiceModel\Dispatcher\ErrorBehavior.cs (1)
112rpc.FaultInfo.Fault.Headers.Action = rpc.RequestVersion.Addressing.DefaultFaultAction;
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\SoapProcessingBehavior.cs (1)
137replyHeaders.Action = originalHeaders.Action + "Response";
128 references to Action
System.ServiceModel (114)
System\ServiceModel\Channels\ChannelDemuxer.cs (2)
637new EndpointNotFoundException(SR.GetString(SR.UnableToDemuxChannel, message.Headers.Action)), message); 2290throw TraceUtility.ThrowHelperError(new EndpointNotFoundException(SR.GetString(SR.UnableToDemuxChannel, message.Headers.Action)), message);
System\ServiceModel\Channels\ClientContextProtocol.cs (1)
111throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new ProtocolException(SR.GetString(SR.CallbackContextNotExpectedOnIncomingMessageAtClient, message.Headers.Action, CallbackContextMessageHeader.CallbackContextHeaderName, CallbackContextMessageHeader.CallbackContextHeaderNamespace)));
System\ServiceModel\Channels\HttpChannelHelpers.cs (7)
260actionAbsent = (message.Headers.Action == null); 340if (action.Length > 0 && string.Compare(message.Headers.Action, action, StringComparison.Ordinal) != 0) 343message.Headers.Action, action), message.Headers.Action, action); 1240string action = message.Headers.Action; 1372string action = message.Headers.Action; 2511string action = message.Headers.Action;
System\ServiceModel\Channels\MessageBuffer.cs (1)
103this.action = message.Headers.Action;
System\ServiceModel\Channels\PeerDuplexChannel.cs (1)
203Fx.Assert(message.Headers.Action != message.Version.Addressing.DefaultFaultAction, "fault action in duplex.send");
System\ServiceModel\Channels\PeerHelpers.cs (1)
792string action = message.Headers.Action;
System\ServiceModel\Channels\PeerNodeImplementation.cs (2)
881throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.PeerMessageMustHaveVia, message.Headers.Action))); 920throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.PeerMessageMustHaveVia, message.Headers.Action)));
System\ServiceModel\Channels\PeerService.cs (1)
177OperationContext.Current.IncomingMessage.Headers.Action);
System\ServiceModel\Channels\SecurityChannelListener.cs (1)
789if (message.Headers.Action == this.secureConversationCloseAction)
System\ServiceModel\Channels\ServiceChannel.cs (8)
994if ((operation.ReplyAction != MessageHeaders.WildcardAction) && !rpc.Reply.IsFault && rpc.Reply.Headers.Action != null) 996if (String.CompareOrdinal(operation.ReplyAction, rpc.Reply.Headers.Action) != 0) 1000rpc.Reply.Headers.Action, 1009string action = rpc.Reply.Headers.Action; 1281this.Call(message.Headers.Action, true, operation, new object[] { message }, EmptyArray<object>.Instance, timeout); 1292return this.BeginCall(message.Headers.Action, true, operation, new object[] { message }, timeout, callback, state); 1308return (Message)this.Call(message.Headers.Action, false, operation, new object[] { message }, EmptyArray<object>.Instance, timeout); 1319return this.BeginCall(message.Headers.Action, false, operation, new object[] { message }, timeout, callback, state);
System\ServiceModel\Channels\ServiceContextProtocol.cs (1)
82throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR.GetString(SR.CallbackContextNotExpectedOnOutgoingMessageAtServer, message.Headers.Action)));
System\ServiceModel\Channels\TransactionChannel.cs (2)
157TransactionFlowOption txFlowOption = this.factory.GetTransaction(direction, message.Headers.Action); 166TransactionFlowOption txFlowOption = this.factory.GetTransaction(direction, message.Headers.Action);
System\ServiceModel\Channels\TransactionChannelFaultConverter.cs (1)
23if (message.Headers.Action == FaultCodeConstants.Actions.Transactions)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
996if (message.Version.Addressing == AddressingVersion.None && message.Headers.Action == null)
System\ServiceModel\Channels\WsrmMessageInfo.cs (1)
243string action = headers.Action;
System\ServiceModel\ComIntegration\ComPlusThreadInitializer.cs (1)
105action = message.Headers.Action;
System\ServiceModel\Description\TypedMessageConverter.cs (3)
106if (this.Action != null && message.Headers.Action != null && message.Headers.Action != this.Action) 107throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxActionMismatch, this.Action, message.Headers.Action)));
System\ServiceModel\Diagnostics\AddressingProperty.cs (1)
22this.action = headers.Action;
System\ServiceModel\Diagnostics\MessageLogger.cs (1)
378string action = message.Headers.Action;
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (2)
769xml.WriteElementString("MessageAction", message.Headers.Action); 896string action = this.message.Headers.Action;
System\ServiceModel\Diagnostics\ServiceModelPerformanceCounters.cs (2)
89Fx.Assert(null != message.Headers.Action, "action must not be null"); 92if (this.actionToOperation.TryGetValue(message.Headers.Action, out operation))
System\ServiceModel\Diagnostics\TraceUtility.cs (1)
1144ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityProcessAction, message.Headers.Action), ActivityType.ProcessAction);
System\ServiceModel\Dispatcher\ActionMessageFilter.cs (1)
81string act = message.Headers.Action;
System\ServiceModel\Dispatcher\ActionMessageFilterTable.cs (3)
182string act = message.Headers.Action; 221string act = message.Headers.Action; 244string act = message.Headers.Action;
System\ServiceModel\Dispatcher\AuthenticationBehavior.cs (2)
89this.suppressAuditFailure, rpc.Request, rpc.Channel.ListenUri, rpc.Request.Headers.Action, 121this.suppressAuditFailure, rpc.Request, rpc.Channel.ListenUri, rpc.Request.Headers.Action,
System\ServiceModel\Dispatcher\AuthorizationBehavior.cs (2)
97this.suppressAuditFailure, rpc.Request, rpc.Request.Headers.To, rpc.Request.Headers.Action, 131this.suppressAuditFailure, rpc.Request, rpc.Request.Headers.To, rpc.Request.Headers.Action,
System\ServiceModel\Dispatcher\ChannelHandler.cs (4)
431if (this.shouldRejectMessageWithOnOpenActionHeader && message.Headers.Action == OperationDescription.SessionOpenedAction) 433throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxNoEndpointMatchingAddressForConnectionOpeningMessage, message.Headers.Action, "Open"))); 1169if (addressingVersion != AddressingVersion.None && request.RequestMessage.Headers.Action == null) 1181string reason = SR.GetString(SR.SFxNoEndpointMatchingContract, request.RequestMessage.Headers.Action);
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
810throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxInvalidReplyAction, this.Name, reply.Headers.Action ?? "{NULL}", this.ReplyAction)));
System\ServiceModel\Dispatcher\DispatchRuntime.cs (1)
805string action = message.Headers.Action;
System\ServiceModel\Dispatcher\ErrorBehavior.cs (1)
110if (rpc.FaultInfo.Fault.Headers.Action == null)
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
1765string action = request.Headers.Action;
System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (2)
333throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxInvalidRequestAction, this.Name, rpc.Request.Headers.Action ?? "{NULL}", this.Action))); 481return (String.CompareOrdinal(message.Headers.Action, action) == 0);
System\ServiceModel\Dispatcher\XPathMessageContext.cs (2)
633act = msg.Headers.Action; 660string act = nav.Message.Headers.Action;
System\ServiceModel\ProtocolException.cs (4)
32string text = SR.GetString(SR.ReceiveShutdownReturnedLargeFault, message.Headers.Action); 38string text = SR.GetString(SR.ReceiveShutdownReturnedMessage, message.Headers.Action); 56string text = SR.GetString(SR.OneWayOperationReturnedLargeFault, message.Headers.Action); 62string text = SR.GetString(SR.OneWayOperationReturnedMessage, message.Headers.Action);
System\ServiceModel\Security\AcceleratedTokenAuthenticator.cs (1)
312if (message.Headers.Action == this.authenticator.RequestSecurityTokenAction.Value)
System\ServiceModel\Security\AcceleratedTokenProvider.cs (2)
270if (incomingMessage.Headers.Action != RequestSecurityTokenResponseAction.Value) 272throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.InvalidActionForNegotiationMessage, incomingMessage.Headers.Action)), incomingMessage);
System\ServiceModel\Security\AcceptorSessionSymmetricMessageSecurityProtocol.cs (1)
192securityHeader.EnforceDerivedKeyRequirement = (message.Headers.Action != factory.StandardsManager.SecureConversationDriver.CloseAction.Value);
System\ServiceModel\Security\AcceptorSessionSymmetricTransportSecurityProtocol.cs (1)
108securityHeader.EnforceDerivedKeyRequirement = (message.Headers.Action != this.Factory.StandardsManager.SecureConversationDriver.CloseAction.Value);
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (2)
653if (!string.IsNullOrEmpty(operationContext.IncomingMessageHeaders.Action)) 655action = operationContext.IncomingMessageHeaders.Action;
System\ServiceModel\Security\InitiatorSessionSymmetricMessageSecurityProtocol.cs (1)
246securityHeader.EnforceDerivedKeyRequirement = (message.Headers.Action != factory.StandardsManager.SecureConversationDriver.CloseResponseAction.Value);
System\ServiceModel\Security\MessageSecurityProtocol.cs (2)
331string action = message.Headers.Action; 387string action = message.Headers.Action;
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (6)
570if (message.Headers.Action == this.RequestSecurityTokenAction.Value) 580else if (message.Headers.Action == this.RequestSecurityTokenResponseAction.Value) 592throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.InvalidActionForNegotiationMessage, message.Headers.Action)), message); 732string action = request.Headers.Action; 824this.suppressAuditFailure, request, request.Headers.To, request.Headers.Action, 845this.suppressAuditFailure, request, request.Headers.To, request.Headers.Action,
System\ServiceModel\Security\SecurityProtocol.cs (5)
586IList<SupportingTokenProviderSpecification> supportingTokenProviders = this.GetSupportingTokenProviders(message.Headers.Action); 634IList<SupportingTokenAuthenticatorSpecification> authenticators = factory.GetSupportingTokenAuthenticators(message.Headers.Action, 812this.factory.SuppressAuditFailure, verifiedMessage, verifiedMessage.Headers.To, verifiedMessage.Headers.Action, 841this.factory.SuppressAuditFailure, message, message.Headers.To, message.Headers.Action, primaryIdentity, exception); 961this.supportingTokenProviders = this.binding.GetSupportingTokenProviders(message.Headers.Action);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (3)
934if (response.Headers.Action != this.Settings.SecurityStandardsManager.SecureConversationDriver.CloseResponseAction.Value) 936throw TraceUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.InvalidCloseResponseAction, response.Headers.Action)), response); 1062string action = message.Headers.Action;
System\ServiceModel\Security\SecuritySessionFilter.cs (1)
49string action = message.Headers.Action;
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (5)
677throw TraceUtility.ThrowHelperWarning(new InvalidOperationException(SR.GetString(SR.SecurityContextMissing, request.Headers.Action)), request); 1018if (request.Headers.Action == this.IssueAction.Value) 1023else if (request.Headers.Action == this.RenewAction.Value) 1030throw TraceUtility.ThrowHelperWarning(new SecurityNegotiationException(SR.GetString(SR.InvalidActionForNegotiationMessage, request.Headers.Action)), request); 1344if (message.Headers.Action == this.actions[i])
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (2)
785if (response.Headers.Action != this.RenewResponseAction.Value) 787throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.InvalidRenewResponseAction, response.Headers.Action)), response);
System\ServiceModel\Security\SecuritySessionServerSettings.cs (5)
1069throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new EndpointNotFoundException(SR.GetString(SR.SecuritySessionListenerNotFound, message.Headers.Action))); 1401message.Headers.Action != this.settings.SecurityStandardsManager.SecureConversationDriver.CloseAction.Value) 1774if (message.Headers.Action == this.Settings.SecurityStandardsManager.SecureConversationDriver.CloseAction.Value) 1782else if (message.Headers.Action == this.Settings.SecurityStandardsManager.SecureConversationDriver.CloseResponseAction.Value) 4709MessageFault fault = SecurityUtils.CreateSecurityContextNotFoundFault(this.standardsManager, message.Headers.Action);
System\ServiceModel\Security\SecurityUtils.cs (1)
1259Exception faultException = new FaultException(fault, message.Headers.Action);
System\ServiceModel\Security\SspiNegotiationTokenAuthenticator.cs (2)
394if (message.Headers.Action == authenticator.RequestSecurityTokenAction.Value 395|| message.Headers.Action == authenticator.RequestSecurityTokenResponseAction.Value)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (4)
955if ((this.StandardsManager.MessageSecurityVersion.TrustVersion == TrustVersion.WSTrustFeb2005 && incomingMessage.Headers.Action != this.StandardsManager.TrustDriver.RequestSecurityTokenResponseAction.Value) || 956(this.StandardsManager.MessageSecurityVersion.TrustVersion == TrustVersion.WSTrust13 && incomingMessage.Headers.Action != this.StandardsManager.TrustDriver.RequestSecurityTokenResponseFinalAction.Value) || 957incomingMessage.Headers.Action == null) 959throw TraceUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.InvalidActionForNegotiationMessage, incomingMessage.Headers.Action)), incomingMessage);
System\ServiceModel\Security\TransportSecurityProtocol.cs (1)
216IList<SupportingTokenAuthenticatorSpecification> supportingAuthenticators = factory.GetSupportingTokenAuthenticators(message.Headers.Action,
System\ServiceModel\Security\WSTrustChannel.cs (1)
400action = response.Headers.Action;
System\ServiceModel\ServiceAuthenticationManager.cs (2)
96!String.IsNullOrEmpty(message.Headers.Action) && 97(message.Headers.Action == this.filteredActionUriCollection[i]))
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\FromReply.cs (1)
139string action = inMessage.Headers.Action;
System.ServiceModel.Routing (10)
System\ServiceModel\Routing\ProcessMessagesAsyncResult.cs (1)
55TD.RoutingServiceProcessingMessage(messageRpc.EventTraceActivity, messageRpc.UniqueID, messageRpc.Message.Headers.Action, messageRpc.OperationContext.EndpointDispatcher.EndpointAddress.Uri.ToString(), (messageRpc.Transaction != null).ToString());
System\ServiceModel\Routing\ProcessRequestAsyncResult.cs (3)
36message.Headers.Action, this.messageRpc.OperationContext.EndpointDispatcher.EndpointAddress.Uri.ToString(), messageRpc.Transaction != null ? "True" : "False"); 185string action = (responseMsg != null) ? responseMsg.Headers.Action : string.Empty; 191if (TD.RoutingServiceSendingFaultResponseIsEnabled()) { TD.RoutingServiceSendingFaultResponse(this.messageRpc.EventTraceActivity, responseMsg.Headers.Action); }
System\ServiceModel\Routing\SoapProcessingBehavior.cs (6)
133if (replyHeaders.Action == null && 135originalHeaders.Action != null) 137replyHeaders.Action = originalHeaders.Action + "Response"; 236string action = sourceHeaders.Action; 246result = Message.CreateMessage(targetVersion, sourceHeaders.Action); 251result = Message.CreateMessage(targetVersion, sourceHeaders.Action, bodyReader);
System.ServiceModel.Web (1)
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
404Message newMessage = Message.CreateMessage(version, fault.Headers.Action, new JsonFaultBodyWriter(innerFault, this.includeExceptionDetailInFaults));
System.WorkflowServices (2)
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (2)
50Fx.Assert(operationContext.IncomingMessageHeaders.Action == RaiseEventAction, "Message action is not RaiseEvent"); 67Fx.Assert(operationContext.IncomingMessageHeaders.Action == RaiseEventAction, "Message action is not RaiseEvent");