35 references to Name
System.ServiceModel (33)
System\ServiceModel\Channels\FaultConverter.cs (10)
96
&& string.Compare(fault.Code.
Name
, MessageStrings.MustUnderstandFault, StringComparison.Ordinal) == 0)
134
if (string.Compare(code.
Name
, AddressingStrings.ActionNotSupported, StringComparison.Ordinal) == 0)
139
else if (string.Compare(code.
Name
, AddressingStrings.DestinationUnreachable, StringComparison.Ordinal) == 0)
144
else if (string.Compare(code.
Name
, Addressing10Strings.InvalidAddressingHeader, StringComparison.Ordinal) == 0)
147
string.Compare(code.SubCode.
Name
, Addressing10Strings.InvalidCardinality, StringComparison.Ordinal) == 0)
155
if (string.Compare(code.
Name
, Addressing10Strings.MessageAddressingHeaderRequired, StringComparison.Ordinal) == 0)
160
else if (string.Compare(code.
Name
, Addressing10Strings.InvalidAddressingHeader, StringComparison.Ordinal) == 0)
168
if (string.Compare(code.
Name
, Addressing200408Strings.MessageInformationHeaderRequired, StringComparison.Ordinal) == 0)
173
else if (string.Compare(code.
Name
, Addressing200408Strings.InvalidMessageInformationHeader, StringComparison.Ordinal) == 0)
187
if (string.Compare(code.
Name
, AddressingStrings.EndpointUnavailable, StringComparison.Ordinal) == 0)
System\ServiceModel\Channels\MessageFault.cs (3)
139
if (String.Compare(code.
Name
, MessageStrings.MustUnderstandFault, StringComparison.Ordinal) != 0)
336
name = faultCode.
Name
;
376
name = faultCode.
Name
;
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (4)
3235
&& (subCode.
Name
== WsrmFeb2005Strings.CreateSequenceRefused))
3244
&& (subSubCode.
Name
== WsrmFeb2005Strings.ConnectionLimitReached))
3258
&& (subCode.
Name
== AddressingStrings.EndpointUnavailable))
3275
return new ProtocolException(SR.GetString(SR.UnrecognizedFaultReceivedOnOpen, fault.Code.Namespace, fault.Code.
Name
, FaultException.GetSafeReasonText(fault)));
System\ServiceModel\Channels\ServiceChannel.cs (5)
1116
if (string.Compare(code.
Name
, FaultCodeConstants.Codes.SessionTerminated, StringComparison.Ordinal) == 0)
1121
if (string.Compare(code.
Name
, FaultCodeConstants.Codes.TransactionAborted, StringComparison.Ordinal) == 0)
1130
if (string.Compare(code.
Name
, SecurityVersion.Default.FailedAuthenticationFaultCode.Value, StringComparison.Ordinal) == 0)
1141
if (string.Compare(code.
Name
, FaultCodeConstants.Codes.InternalServiceFault, StringComparison.Ordinal) == 0)
1154
if (string.Compare(code.
Name
, FaultCodeConstants.Codes.DeserializationFailed, StringComparison.Ordinal) == 0)
System\ServiceModel\Channels\WsrmFault.cs (2)
139
this.code = new FaultCode(this.code.
Name
, this.code.Namespace, subCode);
471
string subcodeName = fault.Code.SubCode.
Name
;
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)
101
string.Compare(e.Fault.Code.SubCode.
Name
, FaultCodeConstants.Codes.InternalServiceFault, StringComparison.Ordinal) == 0)
System\ServiceModel\FaultException.cs (1)
317
array[i].name = code.
Name
;
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 (2)
1263
if (subCode.
Name
== DotNetSecurityStrings.SecurityServerTooBusyFault && subCode.Namespace == DotNetSecurityStrings.Namespace)
1267
else if (subCode.
Name
== AddressingStrings.EndpointUnavailable && subCode.Namespace == message.Version.Addressing.Namespace)
System\ServiceModel\Security\SspiNegotiationTokenProvider.cs (2)
258
if (fault.Code.SubCode.
Name
== TrustApr2004Strings.FailedAuthenticationFaultCode || fault.Code.SubCode.
Name
== TrustFeb2005Strings.FailedAuthenticationFaultCode)
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Dispatcher\OperationExecutionFault.cs (2)
142
exception.Code.SubCode.
Name
== instanceAbortedCode.
Name
&& exception.Code.SubCode.Namespace == instanceAbortedCode.Namespace)