Initializes a new instance of the ConstraintViolationException class

Namespace: NHibernate.Exceptions
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public ConstraintViolationException(
	SerializationInfo info,
	StreamingContext context
)
Visual Basic
Public Sub New ( _
	info As SerializationInfo, _
	context As StreamingContext _
)
Visual C++
public:
ConstraintViolationException(
	SerializationInfo^ info, 
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization..::..SerializationInfo

[Missing <param name="info"/> documentation for "M:NHibernate.Exceptions.ConstraintViolationException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"]

context
Type: System.Runtime.Serialization..::..StreamingContext

[Missing <param name="context"/> documentation for "M:NHibernate.Exceptions.ConstraintViolationException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"]

See Also