Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MessageFault Methods

The MessageFault type exposes the following members.

  Name Description
Public method Static member CreateFault(FaultCode, FaultReason) Returns a new MessageFault object that uses the specified FaultCode and FaultReason objects.
Public method Static member CreateFault(FaultCode, String) Returns a new MessageFault object that uses the specified FaultCode and fault reason.
Public method Static member Supported by Portable Class Library CreateFault(Message, Int32) Returns a new MessageFault object that uses the specified Message and the specified maximum buffer size for the message buffer.
Public method Static member CreateFault(FaultCode, FaultReason, Object) Returns a new MessageFault object that uses the specified FaultCode, FaultReason, and detail object.
Public method Static member CreateFault(FaultCode, FaultReason, Object, XmlObjectSerializer) Returns a new MessageFault object that uses the specified FaultCode, FaultReason, detail object, and XmlObjectSerializer objects.
Public method Static member CreateFault(FaultCode, FaultReason, Object, XmlObjectSerializer, String) Returns a new MessageFault object that uses the specified FaultCode, FaultReason, detail object, XmlObjectSerializer, and actor.
Public method Static member CreateFault(FaultCode, FaultReason, Object, XmlObjectSerializer, String, String) Returns a new MessageFault object that uses the specified FaultCode, FaultReason, detail object, XmlObjectSerializer, actor, and node values.
Public method Supported by Portable Class Library Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Supported by Portable Class Library Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by Portable Class Library GetDetail<T>() Returns the detail object of the message fault.
Public method Supported by Portable Class Library GetDetail<T>(XmlObjectSerializer) Returns the detail object that uses the specified XmlObjectSerializer.
Public method Supported by Portable Class Library GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method Supported by Portable Class Library GetReaderAtDetailContents Returns an XmlDictionaryReader object that is positioned on the detail object of the MessageFault.
Public method Supported by Portable Class Library GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Supported by Portable Class Library MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Supported by Portable Class Library OnGetReaderAtDetailContents When called in a derived class, returns an XmlDictionaryReader object that is positioned on the detail object of the MessageFault.
Protected method Supported by Portable Class Library OnWriteDetail Invoked prior to writing the detail contents.
Protected method Supported by Portable Class Library OnWriteDetailContents When overridden in a non-abstract derived class, writes the contents of the detail element.
Protected method Supported by Portable Class Library OnWriteStartDetail Writes the start element using the specified XmlDictionaryWriter and SOAP envelope version.
Public method Supported by Portable Class Library ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Static member WasHeaderNotUnderstood Gets a value indicating whether the SOAP message headers were understood.
Public method WriteTo(XmlDictionaryWriter, EnvelopeVersion) Writes the message fault that uses the specified XmlDictionaryWriter and SOAP envelope version.
Public method WriteTo(XmlWriter, EnvelopeVersion) Writes the message fault that uses the specified XmlWriter and SOAP envelope version.
Top
Show:
© 2015 Microsoft