Convert a string to ListenerType.
Namespace: NHibernate.Cfg.ConfigurationSchemaAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static ListenerType ListenerTypeConvertFrom( string listenerType ) |
Visual Basic |
---|
Public Shared Function ListenerTypeConvertFrom ( _ listenerType As String _ ) As ListenerType |
Visual C++ |
---|
public: static ListenerType ListenerTypeConvertFrom( String^ listenerType ) |
Parameters
- listenerType
- Type: System..::..String
The string that represent ListenerType.
Return Value
The listenerType converted to ListenerType.Remarks
See ListenerType for allowed values.
Exceptions
Exception | Condition |
---|---|
NHibernate.Cfg..::..HibernateConfigException | If the values is invalid. |