SecurityFault Constructor (String, XmlQualifiedName, Exception)
Initializes a new instance of the SecurityFault 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 securityFault1 As New SecurityFault(message, code, ex)
Syntax
'Declaration
Public Sub New( _
ByVal message As String, _
ByVal code As XmlQualifiedName, _
ByVal ex As Exception _
)
public SecurityFault(
string message,
XmlQualifiedName code,
Exception ex
);
public:
SecurityFault(
String^ message,
XmlQualifiedName^ code,
Exception^ ex
);
public SecurityFault(
System.String message,
XmlQualifiedName code,
Exception ex
);
public function SecurityFault(
message : String,
code : XmlQualifiedName,
ex : Exception
);
Parameters
- message
A message that identifies the reason the exception occurred.
- code
A System.Xml.XmlQualifiedName that identifies the type of error that occurred.
- ex
The System.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
SecurityFault Class
SecurityFault Members
Microsoft.Web.Services3.Security Namespace