Share via


SecurityFault Constructor (String, XmlQualifiedName)

Initializes a new instance of the SecurityFault class using the specified error message and error code.

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 securityFault1 As New SecurityFault(message, code)

Syntax

'Declaration
Public Sub New( _
    ByVal message As String, _
    ByVal code As XmlQualifiedName _
)
public SecurityFault(
    string message, 
    XmlQualifiedName code
);
public:
SecurityFault(
    String^ message, 
    XmlQualifiedName^ code
);
public SecurityFault(
    System.String message, 
    XmlQualifiedName code
);
public function SecurityFault(
     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 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SecurityFault Class
SecurityFault Members
Microsoft.Web.Services3.Security Namespace