GetNextQueueMessage() публичный абстрактный Метод

Retrieves the next pending Message from the Queue based on a provided queueName
public abstract GetNextQueueMessage ( string queueName = null ) : QueueMessageItem
queueName string
Результат QueueMessageItem
Пример #1
0
 /// <summary>
 /// Message hook that's responsible for retrieving the next message.
 /// The base version pulls the next message for the given queue.
 /// You can override this method to conditionally override this
 /// behavior such as filter when and how messages are read.
 /// </summary>
 /// <param name="manager">A manager instance that can retrieve</param>
 /// <param name="queueName">The queue to check</param>
 /// <returns></returns>
 protected virtual QueueMessageItem OnGetNextQueueMessage(QueueMessageManager manager, string queueName)
 {
     return(manager.GetNextQueueMessage(queueName));
 }
 /// <summary>
 /// Message hook that's responsible for retrieving the next message.
 /// The base version pulls the next message for the given queue.    
 /// You can override this method to conditionally override this 
 /// behavior such as filter when and how messages are read.
 /// </summary>
 /// <param name="manager">A manager instance that can retrieve</param>
 /// <param name="queueName">The queue to check</param>
 /// <returns></returns>
 protected virtual QueueMessageItem OnGetNextQueueMessage(QueueMessageManager manager, string queueName)
 {            
     return manager.GetNextQueueMessage(queueName);
 }