SecurityFault Constructor (String, XmlQualifiedName)

Initializes a new instance of the SecurityFault 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 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 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

SecurityFault Class
Microsoft.Web.Services2.Security Namespace

Other Resources

SecurityFault Members