- error
- An error code.
Visual Basic (Declaration) | |
---|---|
Protected Overridable Sub OnConnect( _ ByVal error As DicomExceptionCode _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
protected virtual void OnConnect( DicomExceptionCode error ) |
C++/CLI | |
---|---|
protected: virtual void OnConnect( DicomExceptionCode error ) |
Parameters
- error
- An error code.
For an example, refer to SendAssociateRequest.
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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family