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 )
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.