LEADTOOLS Medical (Leadtools.Dicom.Scu assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
OnReceiveData Method
See Also 
Leadtools.Dicom.Scu.Common Namespace > DicomConnection 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) 
Overrides Protected Sub OnReceiveData( _
   ByVal presentationID As Byte, _
   ByVal cs As DicomDataSet, _
   ByVal ds As DicomDataSet _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomConnection
Dim presentationID As Byte
Dim cs As DicomDataSet
Dim ds As DicomDataSet
 
instance.OnReceiveData(presentationID, cs, ds)
C# 
protected override void OnReceiveData( 
   byte presentationID,
   DicomDataSet cs,
   DicomDataSet ds
)
Managed Extensions for C++ 
protected: void OnReceiveData( 
   byte presentationID,
   DicomDataSet* cs,
   DicomDataSet* ds
) override 
C++/CLI 
protected:
void OnReceiveData( 
   byte presentationID,
   DicomDataSet^ cs,
   DicomDataSet^ ds
) override 

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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