Cancel execution of the current query.

Namespace:  NHibernate
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Sub CancelQuery
C#
void CancelQuery()
Visual C++
void CancelQuery()
JavaScript
function cancelQuery();

Remarks

May be called from one thread to stop execution of a query in another thread. Use with care!

See Also