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