Leadtools.Dicom.Scu Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
OnReceive Method
See Also 
Leadtools.Dicom.Scu.Common Namespace > DicomConnection Class : OnReceive Method




error
An error code.
pduType
The type of data that was sent.
buffer
Pointer to a buffer that contains all the data that was sent. This includes the Command Set and any associated Data Set.
bytes
The number of bytes of the data specified by buffer.
error
An error code.
pduType
The type of data that was sent.
buffer
Pointer to a buffer that contains all the data that was sent. This includes the Command Set and any associated Data Set.
bytes
The number of bytes of the data specified by buffer.
Notifies a connection that data was received.

Syntax

Visual Basic (Declaration) 
Overrides Protected Sub OnReceive( _
   ByVal error As DicomExceptionCode, _
   ByVal pduType As DicomPduType, _
   ByVal buffer As IntPtr, _
   ByVal bytes As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomConnection
Dim error As DicomExceptionCode
Dim pduType As DicomPduType
Dim buffer As IntPtr
Dim bytes As Integer
 
instance.OnReceive(error, pduType, buffer, bytes)
C# 
protected override void OnReceive( 
   DicomExceptionCode error,
   DicomPduType pduType,
   IntPtr buffer,
   int bytes
)
Managed Extensions for C++ 
protected: void OnReceive( 
   DicomExceptionCode error,
   DicomPduType pduType,
   IntPtr buffer,
   int bytes
) override 
C++/CLI 
protected:
void OnReceive( 
   DicomExceptionCode error,
   DicomPduType pduType,
   IntPtr buffer,
   int bytes
) override 

Parameters

error
An error code.
pduType
The type of data that was sent.
buffer
Pointer to a buffer that contains all the data that was sent. This includes the Command Set and any associated Data Set.
bytes
The number of bytes of the data specified by buffer.

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