Soap.GetFaultXml Method

When overridden in a derived class returns a Fault element for a given exception and actor.

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

Usage

'Usage
Dim document As XmlDocument
Dim ex As Exception
Dim actor As String
Dim returnValue As XmlElement
Dim soap1 As Soap
returnValue = soap1.GetFaultXml(document, ex, actor)

Syntax

'Declaration
Public MustOverride Function GetFaultXml( _
    ByVal document As XmlDocument, _
    ByVal ex As Exception, _
    ByVal actor As String _
) As XmlElement
public abstract XmlElement GetFaultXml(
    XmlDocument document, 
    Exception ex, 
    string actor
);
public:
virtual XmlElement^ GetFaultXml(
    XmlDocument^ document,
    Exception^ ex,
    String^ actor
) abstract;
public abstract XmlElement GetFaultXml(
    XmlDocument document, 
    Exception ex, 
    System.String actor
);
public abstract function GetFaultXml(
     document : XmlDocument, 
     ex : Exception, 
     actor : String
) : XmlElement;

Parameters

  • document
  • ex
  • actor

Return Value

A System.Xml.XmlElement that contains the exception information.

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

Soap Class
Soap Members
Microsoft.Web.Services3 Namespace