3 overrides of Reason
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageFault.cs (2)
449public override FaultReason Reason 530public override FaultReason Reason
FrameworkFork\System.ServiceModel\System\ServiceModel\WSAddressing10ProblemHeaderQNameFault.cs (1)
85public override FaultReason Reason
22 references to Reason
dotnet-svcutil-lib (22)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FaultConverter.cs (9)
97exception = new ProtocolException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text); 135exception = new ActionNotSupportedException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text); 140exception = new EndpointNotFoundException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text); 148exception = new MessageHeaderException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text, true); 156exception = new MessageHeaderException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text); 161exception = new ProtocolException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text); 169exception = new ProtocolException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text); 174exception = new ProtocolException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text); 188exception = new ServerTooBusyException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageFault.cs (2)
301FaultReason reason = Reason; 382FaultReasonText translation = Reason.Translations[0];
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (4)
1040throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new ChannelTerminatedException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text)); 1049throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new SecurityAccessDeniedException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text)); 1067throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new FaultException<ExceptionDetail>(detail, fault.Reason, fault.Code, action)); 1074fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
159messageFault.Reason,
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultException.cs (4)
100_reason = FaultException.EnsureReason(fault.Reason); 111_reason = fault.Reason; 199return fault.Reason; 207return GetSafeReasonText(messageFault.Reason);
FrameworkFork\System.ServiceModel\System\ServiceModel\ProtocolException.cs (2)
23FaultReasonText reason = fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture); 47FaultReasonText reason = fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture);