Initializes a new instance of the SerializationException class.

Namespace:  NHibernate.Type
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	message As String, _
	e As Exception _
)
C#
public SerializationException(
	string message,
	Exception e
)
Visual C++
public:
SerializationException(
	String^ message, 
	Exception^ e
)
JavaScript
NHibernate.Type.SerializationException = function(message, e);

Parameters

message
Type: System..::.String
The message that describes the error.
e
Type: System..::.Exception
The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

See Also