Convert a string to ListenerType.

Namespace: NHibernate.Cfg.ConfigurationSchema
Assembly: 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

ExceptionCondition
NHibernate.Cfg..::..HibernateConfigExceptionIf the values is invalid.

See Also