Spring.Messaging.Amqp.Rabbit
CloseConnection Method
See Also  Send Feedback
Spring.Messaging.Amqp.Rabbit.Support Namespace > RabbitUtils Class : CloseConnection Method
connection
The connection to close (may be nul).
Closes the given Rabbit Connection and ignore any thrown exception.

Syntax

C# 
public static void CloseConnection( 
   IConnection connection
)

Parameters

connection
The connection to close (may be nul).

Remarks

This is useful for typical 'finally' blocks in manual Rabbit code

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010 All Rights Reserved.