←Select platform

Read Method

Summary
Gets and removes a matching message from Microsoft message queue (MSMQ).
Syntax
C#
C++/CLI
public static object Read( 
   string qName, 
   string version, 
   string messagetype 
) 
static Object ^Read(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 serializable object that was 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 a matching message, and then removes it from the queue. You may query using version number and message type, the returned object 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 22.0.2023.1.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

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