Partager via


TrustFault Constructor (String, XmlQualifiedName)

Initializes a new instance of the TrustFault 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 trustFault1 As New TrustFault(message, code)

Syntax

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

Parameters

  • message
    A message that identifies the reason the exception occurred.
  • code
    An 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

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