18 references to GetMatchingTranslation
System.ServiceModel (18)
System\ServiceModel\Channels\FaultConverter.cs (9)
98
exception = new ProtocolException(fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture).Text);
136
exception = new ActionNotSupportedException(fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture).Text);
141
exception = new EndpointNotFoundException(fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture).Text);
149
exception = new MessageHeaderException(fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture).Text, true);
157
exception = new MessageHeaderException(fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture).Text);
162
exception = new ProtocolException(fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture).Text);
170
exception = new ProtocolException(fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture).Text);
175
exception = new ProtocolException(fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture).Text);
189
exception = new ServerTooBusyException(fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture).Text);
System\ServiceModel\Channels\ServiceChannel.cs (4)
1118
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new ChannelTerminatedException(fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture).Text));
1123
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new ProtocolException(fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture).Text));
1132
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new SecurityAccessDeniedException(fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture).Text));
1157
fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture).Text));
System\ServiceModel\Channels\TransactionChannelFaultConverter.cs (1)
25
exception = new ProtocolException(fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture).Text);
System\ServiceModel\FaultException.cs (1)
255
return reason.
GetMatchingTranslation
(System.Globalization.CultureInfo.CurrentCulture).Text;
System\ServiceModel\FaultReason.cs (1)
72
return
GetMatchingTranslation
(CultureInfo.CurrentCulture);
System\ServiceModel\ProtocolException.cs (2)
26
FaultReasonText reason = fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture);
50
FaultReasonText reason = fault.Reason.
GetMatchingTranslation
(CultureInfo.CurrentCulture);