LEADTOOLS Medical (Leadtools.Dicom.Scu assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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 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