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