LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
OnReceiveData Method
See Also 
Leadtools.Dicom.AddIn Namespace > NotifyReceiveMessageBase Class : OnReceiveData Method



Client
The client this notification applies to.
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.
Client
The client this notification applies to.
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 an implementor that a Data message was received..

Syntax

Visual Basic (Declaration) 
Public Overridable Sub OnReceiveData( _
   ByVal Client As DicomClient, _
   ByVal presentationID As Byte, _
   ByVal cs As DicomDataSet, _
   ByVal ds As DicomDataSet _
) 
Visual Basic (Usage)Copy Code
Dim instance As NotifyReceiveMessageBase
Dim Client As DicomClient
Dim presentationID As Byte
Dim cs As DicomDataSet
Dim ds As DicomDataSet
 
instance.OnReceiveData(Client, presentationID, cs, ds)
C# 
public virtual void OnReceiveData( 
   DicomClient Client,
   byte presentationID,
   DicomDataSet cs,
   DicomDataSet ds
)
C++/CLI 
public:
virtual void OnReceiveData( 
   DicomClient^ Client,
   byte presentationID,
   DicomDataSet^ cs,
   DicomDataSet^ ds
) 

Parameters

Client
The client this notification applies to.
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.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features