Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsUtils.CloseConnection(IConnection, Boolean) Method

Close the given EMS Connection and ignore any thrown exception. This is useful for typical

finally
blocks in manual EMS code.

[Visual Basic]
Public Overloads Shared Sub CloseConnection( _
   ByVal con As IConnection, _
   ByVal stop As Boolean _
)
[C#]
public static void CloseConnection(
   IConnection con,
   bool stop
);

Parameters

con
the EMS Connection to close (may be
null
)
stop
whether to call
stop()
before closing

See Also

EmsUtils Class | Spring.Messaging.Ems.Support Namespace | EmsUtils.CloseConnection Overload List