8 overrides of Reason
System.ServiceModel (4)
System\ServiceModel\Channels\MessageFault.cs (2)
454
public override FaultReason
Reason
535
public override FaultReason
Reason
System\ServiceModel\Channels\WsrmFault.cs (1)
78
public override FaultReason
Reason
System\ServiceModel\WSAddressing10ProblemHeaderQNameFault.cs (1)
90
public override FaultReason
Reason
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Dispatcher\DurableDispatcherAddressingFault.cs (1)
39
public override FaultReason
Reason
System\ServiceModel\Activities\Dispatcher\OperationExecutionFault.cs (1)
50
public override FaultReason
Reason
System.WorkflowServices (2)
System\ServiceModel\Dispatcher\DurableDispatcherAddressingFault.cs (1)
39
public override FaultReason
Reason
System\ServiceModel\Dispatcher\WorkflowOperationFault.cs (1)
49
public override FaultReason
Reason
27 references to Reason
System.ServiceModel (26)
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)
306
FaultReason reason =
Reason
;
387
FaultReasonText translation =
Reason
.Translations[0];
System\ServiceModel\Channels\ServiceChannel.cs (5)
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));
1150
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new FaultException<ExceptionDetail>(detail, fault.
Reason
, fault.Code, action));
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\Channels\WsrmFault.cs (2)
441
wsrmFault = CreateWsrmHeaderFault(reliableMessagingVersion, fault.Code, subcodeName, fault.
Reason
,
473
wsrmFault = CreateWsrmHeaderFault(reliableMessagingVersion, fault.Code, subcodeName, fault.
Reason
,
System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
163
messageFault.
Reason
,
System\ServiceModel\FaultException.cs (4)
104
this.reason = FaultException.EnsureReason(fault.
Reason
);
115
this.reason = fault.
Reason
;
237
return fault.
Reason
;
245
return GetSafeReasonText(messageFault.
Reason
);
System\ServiceModel\ProtocolException.cs (2)
26
FaultReasonText reason = fault.
Reason
.GetMatchingTranslation(CultureInfo.CurrentCulture);
50
FaultReasonText reason = fault.
Reason
.GetMatchingTranslation(CultureInfo.CurrentCulture);
System.ServiceModel.Web (1)
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
452
faultDetail.Message = fault.
Reason
.ToString();