Jaa


MsmqListener.StopListener Method

Attempt to stop the queue listener and discontinue polling the message queue.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging.MsmqDistributor
Assembly:  MsmqDistributor (in MsmqDistributor.exe)

Syntax

'Declaration
Public Overridable Function StopListener As Boolean
public virtual bool StopListener()
public:
virtual bool StopListener()
public function StopListener() : boolean

Return Value

True if the listener stopped succesfully.

See Also

MsmqListener Class

Microsoft.Practices.EnterpriseLibrary.Logging.MsmqDistributor Namespace