Leadtools.Dicom.Networking Namespace > IDicomEvents Interface : OnConnect Method |
void OnConnect( DicomExceptionCode error, DicomNet net )
'Declaration Sub OnConnect( _ ByVal error As DicomExceptionCode, _ ByVal net As DicomNet _ )
'Usage Dim instance As IDicomEvents Dim error As DicomExceptionCode Dim net As DicomNet instance.OnConnect(error, net)
void OnConnect( DicomExceptionCode error, DicomNet net )
ObjectiveC Syntax
void OnConnect( DicomExceptionCode error, DicomNet^ net )
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2