Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.
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
)
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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