Initializes a new instance of the ListenerConfiguration class.
Namespace: NHibernate.Cfg.ConfigurationSchemaAssembly: 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
Exception | Condition |
---|---|
System..::..ArgumentException | When clazz is null or empty. |