Initializes a new instance of WSTrustSerializationException
Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim message As String
Dim inner As Exception

Dim instance As New WSTrustSerializationException(message, inner)

Syntax

Visual Basic
Public Sub New ( _
		message As String, _
		inner As Exception _
)
C#
public WSTrustSerializationException (
		string message,
		Exception inner
)
C++
public:
WSTrustSerializationException (
		String^ message, 
		Exception^ inner
)
J#
public WSTrustSerializationException (
		String message, 
		Exception inner
)
JScript
public function WSTrustSerializationException (
		message : String, 
		inner : Exception
)

Parameters

message

The error message to attach to the exception.

inner

The inner exception to attach to the new exception.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also