MessageFault Methods

MessageFault Methods

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The MessageFault type exposes the following members.

  NameDescription
Public method Static member CreateFault Returns a new MessageFault object that uses the specified Message and the specified maximum buffer size for the message buffer.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetDetail<T>() Returns the detail object of the message fault.
Public method GetDetail<T>(XmlObjectSerializer) Returns the detail object that uses the specified XmlObjectSerializer.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetReaderAtDetailContents Returns an XmlDictionaryReader object that is positioned on the detail object of the MessageFault.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnGetReaderAtDetailContents When called in a derived class, returns an XmlDictionaryReader object that is positioned on the detail object of the MessageFault.
Protected method OnWriteDetail Invoked prior to writing the detail contents.
Protected method OnWriteDetailContents When overridden in a non-abstract derived class, writes the contents of the detail element.
Protected method OnWriteStartDetail Writes the start element using the specified XmlDictionaryWriter and SOAP envelope version.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Show:
© 2017 Microsoft