←Select platform

OnReceiveData Method (DicomNet)

Summary

Notifies a connection when a Data message was received.

Syntax

C#
VB
C++
protected virtual void OnReceiveData(  
   byte presentationID, 
   Leadtools.Dicom.DicomDataSet cs, 
   Leadtools.Dicom.DicomDataSet ds 
) 
Protected Overridable Sub OnReceiveData( _ 
   ByVal presentationID As Byte, _ 
   ByVal cs As Leadtools.Dicom.DicomDataSet, _ 
   ByVal ds As Leadtools.Dicom.DicomDataSet _ 
)  
protected: 
virtual void OnReceiveData(  
   byte presentationID, 
   Leadtools.Dicom.DicomDataSet^ cs, 
   Leadtools.Dicom.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 VB) if no Data Set is included.

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.

Example

For an example, refer to SendData.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom Assembly
Click or drag to resize