Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
OnReceiveData Method
See Also 
Leadtools.Dicom Namespace > DicomNet Class : OnReceiveData Method




presentationID
The Presentation Context ID. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data.
cs
A DicomDataSet object that contains the Command Set which specifies the actual command message.
ds
A DicomDataSet object that contains the actual data. This may be a null reference (Nothing in Visual Basic) if no Data Set is included.
Notifies a connection when a Data message was received.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub OnReceiveData( _
   ByVal presentationID As Byte, _
   ByVal cs As DicomDataSet, _
   ByVal ds As DicomDataSet _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomNet
Dim presentationID As Byte
Dim cs As DicomDataSet
Dim ds As DicomDataSet
 
instance.OnReceiveData(presentationID, cs, ds)
C# 
protected virtual void OnReceiveData( 
   byte presentationID,
   DicomDataSet cs,
   DicomDataSet ds
)
Managed Extensions for C++ 
protected: virtual void OnReceiveData( 
   byte presentationID,
   DicomDataSet* cs,
   DicomDataSet* ds
) 
C++/CLI 
protected:
virtual void OnReceiveData( 
   byte presentationID,
   DicomDataSet^ cs,
   DicomDataSet^ ds
) 

Parameters

presentationID
The Presentation Context ID. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data.
cs
A DicomDataSet object that contains the Command Set which specifies the actual command message.
ds
A DicomDataSet object that contains the actual data. This may be a null reference (Nothing in Visual Basic) if no Data Set is included.

Example

For an example, refer to SendData.

Remarks

This is a low level means of receiving DICOM messages and data. It allows you to process messages yourself, instead of using the high level message processing methods provided.

This method is called for each DicomNet.SendCXXX or DicomNet.SendNXXX method provided by LEADTOOLS.

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 requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features