12 references to Code
System.ServiceModel (8)
System\ServiceModel\Dispatcher\ErrorBehavior.cs (1)
154
faultInfo.Fault = Message.CreateMessage(this.messageVersion, MessageFault.CreateFault(ndfe.
Code
, ndfe.Reason, detail), ndfe.Action);
System\ServiceModel\Dispatcher\FaultFormatter.cs (2)
191
return MessageFault.CreateFault(faultException.
Code
, faultException.Reason);
202
base(faultException.
Code
, faultException.Reason,
System\ServiceModel\FaultException.cs (1)
438
return MessageFault.CreateFault(this.
Code
, this.Reason, this.detail);
System\ServiceModel\Security\SecurityUtils.cs (1)
1381
return MessageFault.CreateFault(faultException.
Code
, faultException.Reason);
System\ServiceModel\Security\SspiNegotiationTokenProvider.cs (3)
256
if (fault.
Code
.IsSenderFault)
258
if (fault.
Code
.SubCode.Name == TrustApr2004Strings.FailedAuthenticationFaultCode || fault.
Code
.SubCode.Name == TrustFeb2005Strings.FailedAuthenticationFaultCode)
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\Dispatcher\OperationExecutionFault.cs (4)
141
if (exception.
Code
!= null && exception.
Code
.SubCode != null &&
142
exception.
Code
.SubCode.Name == instanceAbortedCode.Name && exception.
Code
.SubCode.Namespace == instanceAbortedCode.Namespace)