20 references to Text
dotnet-svcutil-lib (20)
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)
307
writer.WriteString(text.
Text
);
386
writer.WriteString(translation.
Text
);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (3)
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
));
1074
fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).
Text
));
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultException.cs (3)
217
return reason.GetMatchingTranslation(System.Globalization.CultureInfo.CurrentCulture).
Text
;
227
return string.Format(SRServiceModel.SFxUnknownFaultNoMatchingTranslation1, reason.Translations[0].
Text
);
318
array[i]._text = translations[i].
Text
;
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultReason.cs (1)
129
return GetMatchingTranslation().
Text
;
FrameworkFork\System.ServiceModel\System\ServiceModel\ProtocolException.cs (2)
24
string text = string.Format(SRServiceModel.ReceiveShutdownReturnedFault, reason.
Text
);
48
string text = string.Format(SRServiceModel.OneWayOperationReturnedFault, reason.
Text
);