AddressingFault Constructor (String, XmlQualifiedName, Exception)
Initializes a new instance of the AddressingFault class using the specified fault code, explanation, unlocatable endpoint, 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 ex As Exception
Dim addressingFault1 As New AddressingFault(message, code, ex)
Syntax
'Declaration
Public Sub New( _
ByVal message As String, _
ByVal code As XmlQualifiedName, _
ByVal ex As Exception _
)
public AddressingFault(
string message,
XmlQualifiedName code,
Exception ex
);
public: AddressingFault(
String^ message,
XmlQualifiedName^ code,
Exception^ ex
);
public AddressingFault(
System.String message,
XmlQualifiedName code,
Exception ex
);
public function AddressingFault(
message : String,
code : XmlQualifiedName,
ex : Exception
);
Parameters
- message
- code
The code number of the routing fault.
- ex
An System.Exception that contains exception data.
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