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