C.4.2.2.1 Baseline Behavior of SCU
An SCU conveys the following semantics with a C-MOVE request:
The SCU may cancel the C-MOVE service by issuing a C-MOVE-CANCEL request at any time during the processing of the C-MOVE. The SCU shall interpret a C-MOVE response with a status of Canceled to indicate the transfer was canceled. The C-MOVE response with a status of Canceled shall contain the number of Completed, Failed, and Warning C-STORE sub-operations. If present, the Remaining sub-operations count shall contain the number of C-STORE sub-operations which were not initiated due to the C-MOVE-CANCEL request.
public void SendMoveAbort(DicomAbortSource Source, DicomAbortReason Reason)
{ if (Associated) { SendAbort(Source, Reason);
Associated = false;
}
}
private void AbortButtonClick(object sender, EventArgs e)
{ SendMoveAbort(DicomAbortSource.ServiceUser, DicomAbortReason.NotSpecified);
}