Share via


AddressingFault Constructor (String, XmlQualifiedName)

Initializes a new instance of the AddressingFault class using the specified fault code, explanation, and exception data.

Namespace: Microsoft.Web.Services2.Addressing
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim message As String
Dim code As XmlQualifiedName
Dim addressingFault1 As New AddressingFault(message, code)

Syntax

'Declaration
Public Sub New( _
    ByVal message As String, _
    ByVal code As XmlQualifiedName _
)
public AddressingFault(
    string message, 
    XmlQualifiedName code
);
public: AddressingFault(
    String^ message, 
    XmlQualifiedName^ code
);
public AddressingFault(
    System.String message, 
    XmlQualifiedName code
);
public function AddressingFault(
     message : String, 
     code : XmlQualifiedName
);

Parameters

  • message
  • code
    The code number of the routing fault.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

AddressingFault Class
Microsoft.Web.Services2.Addressing Namespace

Other Resources

AddressingFault Members