Soap12.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 soap121 As Soap12
returnValue = soap121.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
Soap12 Class
Soap12 Members
Microsoft.Web.Services3 Namespace