Share via


SecurityFault Constructor (String)

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

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim message As String
Dim securityFault1 As New SecurityFault(message)

Syntax

'Declaration
Public Sub New( _
    ByVal message As String _
)
public SecurityFault(
    string message
);
public:
SecurityFault(
    String^ message
);
public SecurityFault(
    System.String message
);
public function SecurityFault(
     message : String
);

Parameters

  • message
    A message that identifies the reason the exception occurred.

Remarks

The SOAP fault code is SecurityHeaderCode when this constructor is used.

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