MessageFault Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Represents an in-memory representation of a SOAP fault that can be passed to CreateMessage to create a message that contains a fault.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The MessageFault type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | MessageFault | When called in a derived class, initializes a new instance of the MessageFault class. |
| Name | Description | |
|---|---|---|
![]() ![]() | CreateFault | Returns a new MessageFault object that uses the specified Message and the specified maximum buffer size for the message buffer. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | 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.) |
![]() | GetDetail<T>() | Returns the detail object of the message fault. |
![]() | GetDetail<T>(XmlObjectSerializer) | Returns the detail object that uses the specified XmlObjectSerializer. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetReaderAtDetailContents | Returns an XmlDictionaryReader object that is positioned on the detail object of the MessageFault. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnGetReaderAtDetailContents | When called in a derived class, returns an XmlDictionaryReader object that is positioned on the detail object of the MessageFault. |
![]() | OnWriteDetail | Invoked prior to writing the detail contents. |
![]() | OnWriteDetailContents | When overridden in a non-abstract derived class, writes the contents of the detail element. |
![]() | OnWriteStartDetail | Writes the start element using the specified XmlDictionaryWriter and SOAP envelope version. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show:



