Initializes a new instance of the ListenerConfiguration class.

Namespace: NHibernate.Cfg.ConfigurationSchema
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public ListenerConfiguration(
	string clazz,
	ListenerType type
)
Visual Basic
Public Sub New ( _
	clazz As String, _
	type As ListenerType _
)
Visual C++
public:
ListenerConfiguration(
	String^ clazz, 
	ListenerType type
)

Parameters

clazz
Type: System..::..String
The class full name.
type
Type: NHibernate.Event..::..ListenerType
The listener type.

Exceptions

ExceptionCondition
System..::..ArgumentExceptionWhen clazz is null or empty.

See Also