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



Client
The client this notification applies to.
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.
Client
The client this notification applies to.
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 an implementor that data has been received.

Syntax

Visual Basic (Declaration) 
Sub OnReceive( _
   ByVal Client As DicomClient, _
   ByVal error As DicomExceptionCode, _
   ByVal pduType As DicomPduType, _
   ByVal buffer As IntPtr, _
   ByVal bytes As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As INotifyReceiveMessage
Dim Client As DicomClient
Dim error As DicomExceptionCode
Dim pduType As DicomPduType
Dim buffer As IntPtr
Dim bytes As Integer
 
instance.OnReceive(Client, error, pduType, buffer, bytes)
C# 
void OnReceive( 
   DicomClient Client,
   DicomExceptionCode error,
   DicomPduType pduType,
   IntPtr buffer,
   int bytes
)
C++/CLI 
void OnReceive( 
   DicomClient^ Client,
   DicomExceptionCode error,
   DicomPduType pduType,
   IntPtr buffer,
   int bytes
) 

Parameters

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