Soap12.FromFaultXml Method

Retrieves the error message from within the Fault element of a SOAP message.

Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim element As XmlElement
Dim returnValue As Exception
Dim soap121 As Soap12
returnValue = soap121.FromFaultXml(element)

Syntax

'Declaration
Public Overrides Function FromFaultXml( _
    ByVal element As XmlElement _
) As Exception
public override Exception FromFaultXml(
    XmlElement element
);
public:
virtual Exception^ FromFaultXml(
    XmlElement^ element
) override;
public override Exception FromFaultXml(
    XmlElement element
);
public override function FromFaultXml(
     element : XmlElement
) : Exception;

Parameters

  • element
    The element from which the error message is to be retrieved.

Return Value

A System.Exception object that contains the error message.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

Soap12 Class
Soap12 Members
Microsoft.Web.Services3 Namespace