32 references to Namespace
System.ServiceModel (30)
System\ServiceModel\Channels\FaultConverter.cs (5)
95if (string.Compare(fault.Code.Namespace, version.Envelope.Namespace, StringComparison.Ordinal) == 0 124if (code.Namespace == null) 132if (string.Compare(code.Namespace, version.Addressing.Namespace, StringComparison.Ordinal) == 0) 146if (code.SubCode != null && string.Compare(code.SubCode.Namespace, version.Addressing.Namespace, StringComparison.Ordinal) == 0 && 185if (string.Compare(code.Namespace, version.Addressing.Namespace, StringComparison.Ordinal) == 0)
System\ServiceModel\Channels\MessageFault.cs (4)
144if ((String.Compare(code.Namespace, EnvelopeVersion.Soap11.Namespace, StringComparison.Ordinal) != 0) && 145(String.Compare(code.Namespace, EnvelopeVersion.Soap12.Namespace, StringComparison.Ordinal) != 0)) 341ns = faultCode.Namespace; 381ns = faultCode.Namespace;
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (4)
3234if ((subCode.Namespace == WsrmIndex.GetNamespaceString(reliableMessagingVersion)) 3243&& (subSubCode.Namespace == WsrmFeb2005Strings.NETNamespace) 3257else if ((subCode.Namespace == version.Addressing.Namespace) 3275return new ProtocolException(SR.GetString(SR.UnrecognizedFaultReceivedOnOpen, fault.Code.Namespace, fault.Code.Name, FaultException.GetSafeReasonText(fault)));
System\ServiceModel\Channels\ServiceChannel.cs (4)
1107if (code.Namespace == null) 1114if (string.Compare(code.Namespace, FaultCodeConstants.Namespaces.NetDispatch, StringComparison.Ordinal) == 0) 1128if (string.Compare(code.Namespace, SecurityVersion.Default.HeaderNamespace.Value, StringComparison.Ordinal) == 0) 1139if (string.Compare(code.Namespace, FaultCodeConstants.Namespaces.NetDispatch, StringComparison.Ordinal) == 0)
System\ServiceModel\Channels\WsrmFault.cs (2)
139this.code = new FaultCode(this.code.Name, this.code.Namespace, subCode); 465|| (fault.Code.SubCode.Namespace != WsrmIndex.GetNamespaceString(reliableMessagingVersion)) || !fault.HasDetail)
System\ServiceModel\Channels\WsrmMessageInfo.cs (1)
598messageInfo.faultException = new ProtocolException(SR.GetString(SR.UnrecognizedFaultReceived, messageInfo.faultInfo.Code.Namespace, messageInfo.faultInfo.Code.Name, System.ServiceModel.FaultException.GetSafeReasonText(messageInfo.faultInfo)));
System\ServiceModel\Dispatcher\ErrorBehavior.cs (1)
100string.Compare(e.Fault.Code.SubCode.Namespace, FaultCodeConstants.Namespaces.NetDispatch, StringComparison.Ordinal) == 0 &&
System\ServiceModel\FaultException.cs (1)
318array[i].ns = code.Namespace;
System\ServiceModel\Security\SecuritySessionClientSettings.cs (2)
899if (subCode.Namespace == scDriver.Namespace.Value && subCode.Name == scDriver.RenewNeededFaultCode.Value) 904else if (subCode.Namespace == DotNetSecurityStrings.Namespace && subCode.Name == DotNetSecurityStrings.SecuritySessionAbortedFault)
System\ServiceModel\Security\SecurityUtils.cs (6)
1263if (subCode.Name == DotNetSecurityStrings.SecurityServerTooBusyFault && subCode.Namespace == DotNetSecurityStrings.Namespace) 1267else if (subCode.Name == AddressingStrings.EndpointUnavailable && subCode.Namespace == message.Version.Addressing.Namespace) 1283return (subCode.Namespace == standardsManager.SecurityVersion.HeaderNamespace.Value 1284|| subCode.Namespace == standardsManager.SecureConversationDriver.Namespace.Value 1285|| subCode.Namespace == standardsManager.TrustDriver.Namespace.Value 1286|| subCode.Namespace == DotNetSecurityStrings.Namespace);
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Dispatcher\OperationExecutionFault.cs (2)
142exception.Code.SubCode.Name == instanceAbortedCode.Name && exception.Code.SubCode.Namespace == instanceAbortedCode.Namespace)