TrustFormatException Constructor (String, Exception)
Initializes a new instance of the TrustFormatException class using the specified error message and a reference to the inner exception that is the cause of this exception.
Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim message As String
Dim ex As Exception
Dim trustFormatException1 As New TrustFormatException(message, ex)
Syntax
'Declaration
Public Sub New( _
ByVal message As String, _
ByVal ex As Exception _
)
public TrustFormatException(
string message,
Exception ex
);
public:
TrustFormatException(
String^ message,
Exception^ ex
);
public TrustFormatException(
System.String message,
Exception ex
);
public function TrustFormatException(
message : String,
ex : Exception
);
Parameters
- message
The error message that explains the reason for the exception.
- ex
The exception that is the cause of the current 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 TrustFormatException .
Property |
Value |
Code |
ClientFaultCode |
InnerException |
The Exception that is the cause of this exception. |
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