private void ValidateErrorCounts(string queueName, int messageCount, string connectionString)
 {
     using (var error = new VerifyErrorCounts(queueName, connectionString))
     {
         error.Verify(messageCount, 2);
     }
 }
 private void ValidateErrorCounts(string queueName, string connectionString, int messageCount)
 {
     using (var error = new VerifyErrorCounts(queueName, connectionString))
     {
         error.Verify(messageCount, 2);
     }
 }
 private void ValidateErrorCounts(QueueConnection queueConnection, int arg3, ICreationScope arg4)
 {
     using (var error = new VerifyErrorCounts(queueConnection.Queue, queueConnection.Connection))
     {
         error.Verify(arg3, 2);
     }
 }
 private void ValidateErrorCounts(string queueName, string connectionString, long messageCount)
 {
     //poison messages are moved to the error queue right away
     //they don't update the tracking table, so specify 0 for the error count.
     //They still update the error table itself
     using (var error = new VerifyErrorCounts(queueName, connectionString))
     {
         error.Verify(messageCount, 0);
     }
 }
Example #5
0
 private void ValidateErrorCounts(QueueConnection queueConnection, long arg3, ICreationScope arg4)
 {
     //poison messages are moved to the error queue right away
     //they don't update the tracking table, so specify 0 for the error count.
     //They still update the error table itself
     using (var error = new VerifyErrorCounts(queueConnection.Queue, queueConnection.Connection))
     {
         error.Verify(arg3, 0);
     }
 }
 private void ValidateErrorCounts(string queueName, string connectionString, long messageCount)
 {
     //poison messages are moved to the error queue right away
     //they don't update the tracking table, so specify 0 for the error count.
     //They still update the error table itself
     using (var error = new VerifyErrorCounts(queueName, connectionString))
     {
         error.Verify(messageCount, 0);
     }
 }