ClearCanvas.Dicom.Network.NetworkBase.SendNDeleteRequest C# (CSharp) Метод

SendNDeleteRequest() публичный Метод

Sends an N-Delete Request.
public SendNDeleteRequest ( byte presentationID, ushort messageID, DicomMessage message ) : void
presentationID byte The presentation ID.
messageID ushort The message ID.
message DicomMessage The message.
Результат void
		public void SendNDeleteRequest(byte presentationID, ushort messageID, DicomMessage message)
		{
			message.CommandSet[DicomTags.MessageId].SetUInt16(0, messageID);
			message.CommandSet[DicomTags.CommandField].SetUInt16(0, (ushort)DicomCommandField.NDeleteRequest);

			if (message.DataSet == null || message.DataSet.IsEmpty())
				message.CommandSet[DicomTags.DataSetType].SetUInt16(0, 0x101);
			else
				message.CommandSet[DicomTags.DataSetType].SetUInt16(0, 0x102);

			SendDimse(presentationID, message.CommandSet, message.DataSet);
		}