←Select platform

ReadAll Method

Summary
Gets and removes all messages from Microsoft message queue (MSMQ).
Syntax
C#
VB
C++
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); 

Parameters

qName The messaging queue name, if the queue does not 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.

Return Value

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.

Remarks

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.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.