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