Share via


TrustFormatException Constructor (String)

Initializes a new instance of the TrustFormatException 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 trustFormatException1 As New TrustFormatException(message)

Syntax

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

Parameters

  • message
    The error message that explains the reason for the exception.

Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error, such as, "An invalid XML qualified name was specified."

The following table shows the initial property values for an instance of the TrustFormatException class.

Property

Value

Code

ClientFaultCode

InnerException

null

Message

The error message string.

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

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