6 instantiations of FaultReasonText
System.ServiceModel.Primitives (6)
System\ServiceModel\Channels\MessageFault.cs (2)
796return new FaultReasonText(text, xmlLang); 812FaultReasonText translation = new FaultReasonText(text, xmlLang);
System\ServiceModel\FaultException.cs (1)
332reasons[i] = new FaultReasonText(nodes[i].text, nodes[i].xmlLang);
System\ServiceModel\FaultReason.cs (3)
27Init(new FaultReasonText(text)); 33Init(new FaultReasonText(text, xmlLang)); 39Init(new FaultReasonText(text, cultureInfo));
27 references to FaultReasonText
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (1)
662FaultReasonText reason = fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture);
System.ServiceModel.Primitives (25)
System\ServiceModel\Channels\MessageFault.cs (6)
337FaultReasonText text = reason.Translations[i]; 453FaultReasonText translation = Reason.Translations[0]; 727List<FaultReasonText> translations = new List<FaultReasonText>(); 792private static FaultReasonText ReadTranslation12(XmlDictionaryReader reader) 812FaultReasonText translation = new FaultReasonText(text, xmlLang);
System\ServiceModel\FaultException.cs (3)
328FaultReasonText[] reasons = new FaultReasonText[nodes.Length]; 340SynchronizedReadOnlyCollection<FaultReasonText> translations = reason.Translations;
System\ServiceModel\FaultReason.cs (14)
14public FaultReason(FaultReasonText translation) 42public FaultReason(IEnumerable<FaultReasonText> translations) 50foreach (FaultReasonText faultReasonText in translations) 60FaultReasonText[] array = new FaultReasonText[count]; 62foreach (FaultReasonText faultReasonText in translations) 69private void Init(FaultReasonText translation) 71Init(new FaultReasonText[] { translation }); 74private void Init(FaultReasonText[] translations) 76Translations = new SynchronizedReadOnlyCollection<FaultReasonText>(new object(), new ReadOnlyCollection<FaultReasonText>(translations)); 79public FaultReasonText GetMatchingTranslation() 84public FaultReasonText GetMatchingTranslation(CultureInfo cultureInfo) 141public SynchronizedReadOnlyCollection<FaultReasonText> Translations { get; private set; }
System\ServiceModel\ProtocolException.cs (2)
28FaultReasonText reason = fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture); 52FaultReasonText reason = fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture);
System.ServiceModel.Primitives.Tests (1)
ServiceModel\FaultExceptionTest.cs (1)
83var faultReasonText = reasonTranslations[0];