Gets and removes all messages from Microsoft message queue (MSMQ).
public static List<object> ReadAll(
string qName,
string version,
string messagetype
)
Public Shared Function ReadAll(ByVal qName As String, ByVal version As String, ByVal messagetype As String) As List(Of Object)
static List<Object^> ^ReadAll(String ^qName, String ^version, String ^messagetype);
qName The messaging queue name, if the queue doesn't exist it will be created.
version Message specific version, this is useful for later implmentations to keep backward compatibility.
You may query messages using the version number you are interested in.
messagetype Type of the message, this can be anything like "notification" or "updates"...etc.
You may query messages using the version number you are interested in.
A list of serializable objects that were originally saved by the sender party, this is user defined and can be anything. An example of this is and object that has file name, id, and a time stamp.
This method will query the Microsoft message queue (MSMQ) for all messages, and then remove them from the queue. You may query using version number and message type, the returned list of objects will be of the same type it was originally saved given that you have the dependency where that object is defined available in the calling assembly.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET