Example #1
0
 protected override void OnReceiveCStoreResponse(byte presentationID, ushort messageIdRespondedTo, DicomUID affectedInstance, DcmStatus status)
 {
     _current.Status = status;
     if (OnCStoreResponseReceived != null)
     {
         try {
             OnCStoreResponseReceived(this, _current);
         }
         catch (Exception e) {
             Log.Error("Unhandled exception in user C-Store Response Callback: {0}", e.Message);
         }
     }
     _current.Unload();
     _current = null;
     SendNextCStoreRequest();
 }