Share via


Soap11.GetFaultXml Method

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 soap111 As Soap11
returnValue = soap111.GetFaultXml(document, ex, actor)

Syntax

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

Parameters

  • document
    The SOAP message.
  • ex
    The exception.
  • actor
    The 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

Soap11 Class
Soap11 Members
Microsoft.Web.Services3 Namespace