Visual Basic |
---|
Public Sub MoveImages() |
This method takes no parameters, as all values are set as properties of the DicomQuery Object.
Images are requested to be transferred to the application entity specified by the DicomQuery object’s Destination property.
The reason that no result is returned is that this method is commonly used to transfer images to a DicomViewer control running within the same container as the DicomQuery object. Were the viewer control and DicomQuery object to run in the same thread, a deadlock could occur due to the need to call the AssociationRequest event of the control, before the MoveImages status could be reported. MoveImages is therefore implemented on an independent thread, the main thread returning immediately.
This method has been retained for backwards compatibility, but three alternatives now exist, each suitable for different scenarios:
GetUsingMove: For moving to the same application making the call (synchronously)
MoveSync: For moving images to different application (synchronously)
Move (DicomConnection): For moving anywhere asynchronously