TrustFault Constructor (String, XmlQualifiedName)
Initializes a new instance of the TrustFault class using the specified error message and error code.
Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Dim message As String
Dim code As XmlQualifiedName
Dim trustFault1 As New TrustFault(message, code)
Syntax
'Declaration
Public Sub New( _
ByVal message As String, _
ByVal code As XmlQualifiedName _
)
public TrustFault(
string message,
XmlQualifiedName code
);
public: TrustFault(
String^ message,
XmlQualifiedName^ code
);
public TrustFault(
System.String message,
XmlQualifiedName code
);
public function TrustFault(
message : String,
code : XmlQualifiedName
);
Parameters
- message
A message that identifies the reason the exception occurred.
- code
An System.Xml.XmlQualifiedName that identifies the type of error that occurred.
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
TrustFault Class
Microsoft.Web.Services2.Security Namespace