Welcome to MSDN Blogs Sign in | Join | Help

April 2009 - Posts

MSMQ and the Active Directory Recycle Bin

Windows Server 2008 R2 introduces a new feature in Active Directory, the Active Directory Recycle Bin. When MSMQ is installed on a domain-joined machine with the MSMQ directory integration feature installed, it makes use of Active Directory objects, particularly

How to count messages in a MessageQueue

There are a few different ways of getting a count of the number of messages in the MessageQueue. Here’s a simple one. public static int GetMessageCount( MessageQueue q) { int messageCount = 0; using ( MessageEnumerator messageEnumerator = q.GetMessageEnumerator2())
Posted by Devang Gandhi | 0 Comments
Filed under:
 
Page view tracker