Leadtools.Dicom.Server.Admin Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SendMessage(ServiceMessage) Method
See Also 
Leadtools.Dicom.Server.Admin Namespace > DicomService Class > SendMessage Method : SendMessage(ServiceMessage) Method




message
The message to send.
message
The message to send.
Sends a message to the DICOM Service.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub SendMessage( _
   ByVal message As ServiceMessage _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomService
Dim message As ServiceMessage
 
instance.SendMessage(message)
C# 
public void SendMessage( 
   ServiceMessage message
)
Managed Extensions for C++ 
public: void SendMessage( 
   ServiceMessage message
) 
C++/CLI 
public:
void SendMessage( 
   ServiceMessage message
) 

Parameters

message
The message to send.

Example

For an example refer to ServiceAdministrator.InstallService

Remarks

The T:Message event will be generated when a response is received. The service needs to be running before it can accept messages.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom.Server.Admin requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features