System\ServiceModel\Channels\Message.cs (5)
240return CreateMessage(version, MessageFault.CreateFault(faultCode, reason), action);
252return CreateMessage(version, MessageFault.CreateFault(faultCode, new FaultReason(reason), detail), action);
255static public Message CreateMessage(MessageVersion version, MessageFault fault, string action)
875MessageFault fault;
878public FaultBodyWriter(MessageFault fault, EnvelopeVersion version)
System\ServiceModel\Channels\MessageFault.cs (11)
20static MessageFault defaultMessageFault;
22public static MessageFault CreateFault(FaultCode code, string reason)
27public static MessageFault CreateFault(FaultCode code, FaultReason reason)
32public static MessageFault CreateFault(FaultCode code, FaultReason reason, object detail)
38public static MessageFault CreateFault(FaultCode code, FaultReason reason, object detail, XmlObjectSerializer serializer)
43public static MessageFault CreateFault(FaultCode code, FaultReason reason, object detail, XmlObjectSerializer serializer, string actor)
50public static MessageFault CreateFault(FaultCode code, FaultReason reason, object detail, XmlObjectSerializer serializer, string actor, string node)
63public static MessageFault CreateFault(Message message, int maxBufferSize)
74MessageFault fault;
112internal static MessageFault Default
118defaultMessageFault = MessageFault.CreateFault(new FaultCode("Default"), new FaultReason("", CultureInfo.CurrentCulture));
System\ServiceModel\Dispatcher\FaultFormatter.cs (7)
41public MessageFault Serialize(FaultException faultException, out string action)
64public FaultException Deserialize(MessageFault messageFault, string action)
95protected virtual FaultException CreateFaultException(MessageFault messageFault, string action)
140protected FaultException CreateFaultException(MessageFault messageFault, string action,
185static MessageFault CreateMessageFault(XmlObjectSerializer serializer, FaultException faultException, Type detailType)
191return MessageFault.CreateFault(faultException.Code, faultException.Reason);
196return (MessageFault)Activator.CreateInstance(operationFaultType, serializer, faultException);