Auto-disconnect
Where it appears
In the DicomObjects log file
What caused Auto-Disconnection
It’s caused by releasing the last remaining reference to a DicomConnection without first sending a status back to the remote end. This normally means:
- The Developer forgot to send the status back before closing the connection, or
- An exception occurred but was not trapped, causing the SendStatus call itself or an operation which should trigger a subsequent ActionComplete (e.g.SaveImage) to be bypassed.
How does DicomObjects handle situation like this
The status in the DefaultStatus property (which should be set to an error status such as 0xC000) is sent back by DicomObjects.