public GetAllSentMessages ( ) : Rhino.Queues.Model.PersistentMessageToSend[] | ||
return | Rhino.Queues.Model.PersistentMessageToSend[] |
public PersistentMessageToSend[] GetAllSentMessages()
{
AssertNotDisposedOrDisposing();
PersistentMessageToSend[] msgs = null;
queueStorage.Global(actions =>
{
msgs = actions.GetSentMessages().ToArray();
actions.Commit();
});
return msgs;
}