Send query status
Visual Basic |
---|
Public Sub SendStatus( _ ByVal Status As Long _ ) |
The status returned may be either Pending or Final, and the appropriate values are listed here:
Type | Meaning | Applies to | Status |
Final | Success - Sub Operations Complete - No Failures | All | 0000 |
Warning - Sub Operations Complete - One or more Failures | C-MOVE & C-GET | B000 | |
Refused - Out of Resources | C-GET | A700 | |
Refused - Out of Resources - Unable to calculate number of matches | C-MOVE & C-GET | A701 | |
Refused - Out of Resources - Unable to perform sub-operations | C-MOVE & C-GET | A702 | |
Refused - Move Destination Unknown | C-MOVE | A801 | |
Failed - Identifier Does Not Match SOP Class | All | A900 | |
Failed - Unable to process | All | Cxxx | |
Pending | Sub Operations are continuing | C-MOVE & C-GET | FF00 |
Unless Mode=doSync, this method returns immediately, and the status is sent asynchronously. A pending status causes an ActionComplete event to be generated once the status has been sent.
Note that “pending” responses are generated for C-FIND queries by the SendData method, and are not permitted for this method, as there would be no method of attaching an identifier.
For a C-MOVE request, SetDestination must be called before this method.