11 instantiations of FaultReasonText
System.ServiceModel (6)
System\ServiceModel\Channels\MessageFault.cs (2)
705
return new
FaultReasonText
(text, xmlLang);
721
FaultReasonText translation = new
FaultReasonText
(text, xmlLang);
System\ServiceModel\FaultException.cs (1)
355
reasons[i] = new
FaultReasonText
(nodes[i].text, nodes[i].xmlLang);
System\ServiceModel\FaultReason.cs (3)
24
Init(new
FaultReasonText
(text));
30
Init(new
FaultReasonText
(text, xmlLang));
36
Init(new
FaultReasonText
(text, cultureInfo));
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Dispatcher\OperationExecutionFault.cs (1)
30
this.faultReason = new FaultReason(new
FaultReasonText
(
System\ServiceModel\Activities\ToReply.cs (1)
212
new FaultReason(new
FaultReasonText
(exception.Message, CultureInfo.CurrentCulture)),
System.WorkflowServices (3)
System\ServiceModel\Dispatcher\DurableDispatcherAddressingFault.cs (1)
20
faultReason = new FaultReason(new
FaultReasonText
(SR2.GetString(SR2.CurrentOperationCannotCreateInstance), CultureInfo.CurrentCulture));
System\ServiceModel\Dispatcher\WorkflowOperationFault.cs (2)
24
faultReason = new FaultReason(new
FaultReasonText
(SR2.GetString(SR2.OperationNotAvailable), CultureInfo.CurrentCulture));
29
faultReason = new FaultReason(new
FaultReasonText
(SR2.GetString(SR2.OperationNotImplemented), CultureInfo.CurrentCulture));
26 references to FaultReasonText
System.ServiceModel (26)
System\ServiceModel\Channels\MessageFault.cs (6)
309
FaultReasonText
text = reason.Translations[i];
387
FaultReasonText
translation = Reason.Translations[0];
645
List<
FaultReasonText
> translations = new List<
FaultReasonText
>();
701
static
FaultReasonText
ReadTranslation12(XmlDictionaryReader reader)
721
FaultReasonText
translation = new FaultReasonText(text, xmlLang);
System\ServiceModel\FaultException.cs (3)
351
FaultReasonText
[] reasons = new
FaultReasonText
[nodes.Length];
363
SynchronizedReadOnlyCollection<
FaultReasonText
> translations = reason.Translations;
System\ServiceModel\FaultReason.cs (15)
11
SynchronizedReadOnlyCollection<
FaultReasonText
> translations;
13
public FaultReason(
FaultReasonText
translation)
39
public FaultReason(IEnumerable<
FaultReasonText
> translations)
44
foreach (
FaultReasonText
faultReasonText in translations)
48
FaultReasonText
[] array = new
FaultReasonText
[count];
50
foreach (
FaultReasonText
faultReasonText in translations)
60
void Init(
FaultReasonText
translation)
62
Init(new
FaultReasonText
[] { translation });
65
void Init(
FaultReasonText
[] translations)
67
this.translations = new SynchronizedReadOnlyCollection<
FaultReasonText
>(new object(), Array.AsReadOnly<
FaultReasonText
>(translations));
70
public
FaultReasonText
GetMatchingTranslation()
76
public
FaultReasonText
GetMatchingTranslation(CultureInfo cultureInfo)
118
public SynchronizedReadOnlyCollection<
FaultReasonText
> Translations
System\ServiceModel\ProtocolException.cs (2)
26
FaultReasonText
reason = fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture);
50
FaultReasonText
reason = fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture);