←Select platform

OnConnect Method (IDicomEvents)

Summary

Notifies the SCU that the connection attempt is complete.

Syntax

C#
VB
WinRT C#
C++
Sub OnConnect( _ 
   ByVal error As Leadtools.Dicom.DicomExceptionCode, _ 
   ByVal net As Leadtools.Dicom.Networking.DicomNet _ 
)  
function Leadtools.Dicom.Networking.IDicomEvents.OnConnect(  
   error , 
   net  
) 

Parameters

error
An error code.

net
The DicomNet object of the peer member of the connection.

Remarks

A call to this method is generated on an SCU when an SCP calls Accept. It is generated whether or not the connection attempt is successful. It is also generated when a connection attempt has timed-out. To customize this method, you must derive a class from DicomNet and override this method.

A DICOM Association must be established between an SCU and an SCP before any DICOM messages or data can be transmitted between them. For more information on creating a DICOM Association, refer to Creating a DICOM Associate Connection.

Requirements

Target Platforms

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