BrokerClient.Close Method

Closes the connection to the broker.

No members of this type are thread safe.

You must dispose of an BrokerClient object when you finish using it by calling the Close method or by creating the object by calling the BrokerClient constructor within a using Statement (http://go.microsoft.com/fwlink/?LinkId=177731) in C#. The Close method in turn calls the Dispose method.

This method was introduced in Windows HPC Server 2008 R2 and is not supported in previous versions.

NameDescription
BrokerClient.Close ()Closes the connection to the broker without emptying or deleting the message queues that correspond to the BrokerClient object.
BrokerClient.Close (Boolean)Closes the connection to the broker, and optionally empties and deletes the message queues that correspond to the BrokerClient object.
BrokerClient.Close (Boolean, Int32)Closes the connection to the broker, and optionally empties and deletes the message queues that correspond to the BrokerClient object that is subject to the specified timeout period.




Build Date:

2013-04-22
Show: