26 instantiations of FaultReason
System.ServiceModel (16)
System\ServiceModel\Channels\Message.cs (1)
252
return CreateMessage(version, MessageFault.CreateFault(faultCode, new
FaultReason
(reason), detail), action);
System\ServiceModel\Channels\MessageFault.cs (4)
24
return CreateFault(code, new
FaultReason
(reason));
118
defaultMessageFault = MessageFault.CreateFault(new FaultCode("Default"), new
FaultReason
("", CultureInfo.CurrentCulture));
674
FaultReason reason = new
FaultReason
(translations);
736
FaultReason reason = new
FaultReason
(translation);
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
3297
FaultReason faultReason = new
FaultReason
(reason, CultureInfo.CurrentCulture);
System\ServiceModel\Channels\WsrmFault.cs (1)
35
this.reason = new
FaultReason
(faultReason, CultureInfo.CurrentCulture);
System\ServiceModel\ComIntegration\Error.cs (1)
129
FaultReason reasonObj = new
FaultReason
(reason, CultureInfo.CurrentCulture);
System\ServiceModel\Dispatcher\DispatchRuntime.cs (1)
818
FaultReason reason = new
FaultReason
(reasonText);
System\ServiceModel\Dispatcher\ErrorBehavior.cs (2)
85
fault = MessageFault.CreateFault(code, new
FaultReason
(error.Message), new ExceptionDetail(error));
90
fault = MessageFault.CreateFault(code, new
FaultReason
(reason));
System\ServiceModel\Dispatcher\TransactionBehavior.cs (1)
66
FaultReason reason = new
FaultReason
(reasonText, CultureInfo.CurrentCulture);
System\ServiceModel\FaultException.cs (2)
213
return (reason != null) ? new
FaultReason
(reason) : DefaultReason;
358
return new
FaultReason
(reasons);
System\ServiceModel\WSAddressing10ProblemHeaderQNameFault.cs (2)
43
this.reason = new
FaultReason
(e.Message, CultureInfo.CurrentCulture);
53
this.reason = new
FaultReason
(e.Message, CultureInfo.CurrentCulture);
System.ServiceModel.Activities (5)
System\ServiceModel\Activities\Dispatcher\DurableDispatcherAddressingFault.cs (1)
20
this.faultReason = new
FaultReason
(new FaultReasonText(SR2.CurrentOperationCannotCreateInstance, CultureInfo.CurrentCulture));
System\ServiceModel\Activities\Dispatcher\OperationExecutionFault.cs (1)
30
this.faultReason = new
FaultReason
(new FaultReasonText(
System\ServiceModel\Activities\ToReply.cs (2)
212
new
FaultReason
(new FaultReasonText(exception.Message, CultureInfo.CurrentCulture)),
218
new
FaultReason
(new FaultReasonText(SR2.InternalServerError, CultureInfo.CurrentCulture)));
System\ServiceModel\Activities\WorkflowHostingEndpoint.cs (1)
88
new
FaultReason
(new FaultReasonText(SR.InternalServerError, CultureInfo.CurrentCulture)));
System.WorkflowServices (5)
System\ServiceModel\Dispatcher\DurableDispatcherAddressingFault.cs (1)
20
faultReason = new
FaultReason
(new FaultReasonText(SR2.GetString(SR2.CurrentOperationCannotCreateInstance), CultureInfo.CurrentCulture));
System\ServiceModel\Dispatcher\DurableErrorHandler.cs (2)
49
messageFault = MessageFault.CreateFault(code, new
FaultReason
(toTrace.Message), new ExceptionDetail(toTrace));
54
messageFault = MessageFault.CreateFault(code, new
FaultReason
(reason));
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));
73 references to FaultReason
System.ServiceModel (65)
System\ServiceModel\Channels\MessageFault.cs (15)
27
public static MessageFault CreateFault(FaultCode code,
FaultReason
reason)
32
public static MessageFault CreateFault(FaultCode code,
FaultReason
reason, object detail)
38
public static MessageFault CreateFault(FaultCode code,
FaultReason
reason, object detail, XmlObjectSerializer serializer)
43
public static MessageFault CreateFault(FaultCode code,
FaultReason
reason, object detail, XmlObjectSerializer serializer, string actor)
50
public static MessageFault CreateFault(FaultCode code,
FaultReason
reason, object detail, XmlObjectSerializer serializer, string actor, string node)
164
public abstract
FaultReason
Reason { get; }
306
FaultReason
reason = Reason;
406
FaultReason
reason;
412
public XmlObjectSerializerFault(FaultCode code,
FaultReason
reason, object detail, XmlObjectSerializer serializer, string actor, string node)
454
public override
FaultReason
Reason
485
FaultReason
reason;
492
ReceivedFault(FaultCode code,
FaultReason
reason, string actor, string node, XmlBuffer detail, EnvelopeVersion version)
535
public override
FaultReason
Reason
674
FaultReason
reason = new FaultReason(translations);
736
FaultReason
reason = new FaultReason(translation);
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (2)
3204
FaultReason
faultReason = new FaultReason(SR.GetString(SR.CSRefused, reason), CultureInfo.CurrentCulture);
3297
FaultReason
faultReason = new FaultReason(reason, CultureInfo.CurrentCulture);
System\ServiceModel\Channels\SecurityChannelListener.cs (1)
781
FaultReason
faultReason = new FaultReason(SR.GetString(SR.SecureConversationCancelNotAllowedFaultReason), System.Globalization.CultureInfo.InvariantCulture);
System\ServiceModel\Channels\WsrmFault.cs (12)
18
FaultReason
reason;
41
protected WsrmFault(FaultCode code, string subcode,
FaultReason
reason)
78
public override
FaultReason
Reason
248
protected WsrmHeaderFault(FaultCode code, string subcode,
FaultReason
reason, XmlDictionaryReader detailReader,
256
protected WsrmHeaderFault(FaultCode code, string subcode,
FaultReason
reason, bool faultsInput,
294
string subcode,
FaultReason
reason, XmlDictionaryReader detailReader)
491
public InvalidAcknowledgementFault(FaultCode code,
FaultReason
reason,
531
public LastMessageNumberExceededFault(FaultCode code,
FaultReason
reason,
547
public MessageNumberRolloverFault(FaultCode code,
FaultReason
reason, XmlDictionaryReader detailReader,
602
public SequenceClosedFault(FaultCode code,
FaultReason
reason, XmlDictionaryReader detailReader,
616
public SequenceTerminatedFault(FaultCode code,
FaultReason
reason, XmlDictionaryReader detailReader,
653
public UnknownSequenceFault(FaultCode code,
FaultReason
reason, XmlDictionaryReader detailReader,
System\ServiceModel\ComIntegration\Error.cs (1)
129
FaultReason
reasonObj = new FaultReason(reason, CultureInfo.CurrentCulture);
System\ServiceModel\Dispatcher\AuthenticationBehavior.cs (1)
153
FaultReason
faultReason = new FaultReason(SR.GetString(SR.AuthenticationOfClientFailed), CultureInfo.CurrentCulture);
System\ServiceModel\Dispatcher\AuthorizationBehavior.cs (1)
165
FaultReason
faultReason = new FaultReason(SR.GetString(SR.AccessDenied), CultureInfo.CurrentCulture);
System\ServiceModel\Dispatcher\DispatchRuntime.cs (1)
818
FaultReason
reason = new FaultReason(reasonText);
System\ServiceModel\Dispatcher\NetDispatcherFaultException.cs (1)
16
public NetDispatcherFaultException(
FaultReason
reason, FaultCode code, Exception innerException)
System\ServiceModel\Dispatcher\TransactionBehavior.cs (1)
66
FaultReason
reason = new FaultReason(reasonText, CultureInfo.CurrentCulture);
System\ServiceModel\FaultException.cs (19)
27
FaultReason
reason;
44
public FaultException(
FaultReason
reason)
58
public FaultException(
FaultReason
reason, FaultCode code)
81
public FaultException(
FaultReason
reason, FaultCode code, string action)
89
internal FaultException(
FaultReason
reason, FaultCode code, string action, Exception innerException)
139
static
FaultReason
DefaultReason
154
public
FaultReason
Reason
169
internal void AddFaultReasonObjectData(SerializationInfo info, string key,
FaultReason
reason)
211
static
FaultReason
CreateReason(string reason)
231
static
FaultReason
GetReason(MessageFault fault)
248
internal static string GetSafeReasonText(
FaultReason
reason)
275
static
FaultReason
EnsureReason(
FaultReason
reason)
286
internal
FaultReason
ReconstructFaultReason(SerializationInfo info, string key)
349
internal static
FaultReason
Construct(FaultReasonData[] nodes)
361
internal static FaultReasonData[] GetObjectData(
FaultReason
reason)
395
public FaultException(TDetail detail,
FaultReason
reason)
407
public FaultException(TDetail detail,
FaultReason
reason, FaultCode code)
419
public FaultException(TDetail detail,
FaultReason
reason, FaultCode code, string action)
System\ServiceModel\MustUnderstandSoapException.cs (1)
39
FaultReason
reason = new FaultReason(SR.GetString(SR.SFxHeaderNotUnderstood, name, ns), CultureInfo.CurrentCulture);
System\ServiceModel\Security\MessageSecurityProtocolFactory.cs (1)
224
FaultReason
reason = new FaultReason(SR.GetString(SR.InvalidOrUnrecognizedAction, action), System.Globalization.CultureInfo.CurrentCulture);
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (1)
914
FaultReason
reason;
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
443
FaultReason
reason;
System\ServiceModel\Security\SecuritySessionServerSettings.cs (2)
1135
FaultReason
renewFaultReason;
1137
FaultReason
sessionAbortedFaultReason;
System\ServiceModel\Security\SecurityUtils.cs (2)
1308
FaultReason
reason;
1366
FaultReason
reason;
System\ServiceModel\WSAddressing10ProblemHeaderQNameFault.cs (2)
19
FaultReason
reason;
90
public override
FaultReason
Reason
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\Dispatcher\DurableDispatcherAddressingFault.cs (2)
15
FaultReason
faultReason;
39
public override
FaultReason
Reason
System\ServiceModel\Activities\Dispatcher\OperationExecutionFault.cs (2)
25
FaultReason
faultReason;
50
public override
FaultReason
Reason
System.WorkflowServices (4)
System\ServiceModel\Dispatcher\DurableDispatcherAddressingFault.cs (2)
15
FaultReason
faultReason;
39
public override
FaultReason
Reason
System\ServiceModel\Dispatcher\WorkflowOperationFault.cs (2)
17
FaultReason
faultReason;
49
public override
FaultReason
Reason