←Select platform

Send Method

Summary

Places a message in Microsoft message queue (MSMQ).

Syntax
C#
VB
C++
public static void Send( 
   string qName, 
   string version, 
   string messagetype, 
   object obj 
) 
Public Shared Sub Send(ByVal qName As String, ByVal version As String, ByVal messagetype As String, ByVal obj As Object) 
static void Send(String ^qName, String ^version, String ^messagetype, Object ^obj); 

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 later 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 later query messages using the version number you are interested in.

obj A serializable object that has the actual parameter of the message, 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

Send is currently used by LEAD Storage server to post messages about database changes.

Requirements

Target Platforms

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

Leadtools.Dicom.Common Assembly