ClearCanvas.Dicom.Network.NetworkBase.SendCStoreResponse C# (CSharp) Method

SendCStoreResponse() public method

Method to send a DICOM C-STORE-RSP message.
public SendCStoreResponse ( byte presentationID, ushort messageID, string affectedInstance, ClearCanvas.Dicom.Network.DicomStatus status ) : void
presentationID byte
messageID ushort
affectedInstance string
status ClearCanvas.Dicom.Network.DicomStatus
return void
        public void SendCStoreResponse(byte presentationID, ushort messageID, string affectedInstance, DicomStatus status)
        {
            var msg = new DicomMessage
                          {
                              MessageIdBeingRespondedTo = messageID,
                              CommandField = DicomCommandField.CStoreResponse,
                              AffectedSopClassUid = _assoc.GetAbstractSyntax(presentationID).UID,
                              AffectedSopInstanceUid = affectedInstance,
                              DataSetType = 0x0101,
                              Status = status
                          };

        	SendDimse(presentationID, msg.CommandSet, null);
        }

Same methods

NetworkBase::SendCStoreResponse ( byte presentationID, ushort messageID, string affectedInstance, ClearCanvas.Dicom.Network.DicomStatus status, string errorComment ) : void