public Verify ( long messageCount, int errorCount ) : void | ||
messageCount | long | |
errorCount | int | |
Результат | void |
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, 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); } }