22 references to Text
System.ServiceModel (22)
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\MessageFault.cs (2)
312
writer.WriteString(text.
Text
);
391
writer.WriteString(translation.
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 (3)
255
return reason.GetMatchingTranslation(System.Globalization.CultureInfo.CurrentCulture).
Text
;
265
return SR.GetString(SR.SFxUnknownFaultNoMatchingTranslation1, reason.Translations[0].
Text
);
370
array[i].text = translations[i].
Text
;
System\ServiceModel\FaultReason.cs (1)
128
return GetMatchingTranslation().
Text
;
System\ServiceModel\ProtocolException.cs (2)
27
string text = SR.GetString(SR.ReceiveShutdownReturnedFault, reason.
Text
);
51
string text = SR.GetString(SR.OneWayOperationReturnedFault, reason.
Text
);