[This is preliminary documentation and is subject to change.]
Sends a single Dicom Message while taking care of setting up and releasing an
association for it.
| C# | Visual Basic | Visual C++ |
protected bool SendAssociation( DicomMessage dicomMessage, params PresentationContext[] presentationContexts )
Protected Function SendAssociation ( _ dicomMessage As DicomMessage, _ ParamArray presentationContexts As PresentationContext() _ ) As Boolean
protected: bool SendAssociation( DicomMessage^ dicomMessage, ... array<PresentationContext^>^ presentationContexts )
- dicomMessage (DicomMessage)
- The Dicom Message to send.
- presentationContexts (array< PresentationContext >[]()[])
- The presentation contexts to propose in the A-ASSOCIATE-RQ.
True indicates the other side has accepted the association, false indicates the other side
has rejected the association.
1. An A-ASSOCIATE-RQ is sent.
2. An A-ASSOCIATE-AC or A-ASSOCIATE-RJ is received.
Only when an A-ASSOCIATE-AC is received, steps 3, 4 and 5 are executed.
3. The Dicom Message is send and responses are received until the status is not pending anymore.
4. An A-RELEASE-RQ is sent.
5. An A-RELEASE-RP is received.
2. An A-ASSOCIATE-AC or A-ASSOCIATE-RJ is received.
Only when an A-ASSOCIATE-AC is received, steps 3, 4 and 5 are executed.
3. The Dicom Message is send and responses are received until the status is not pending anymore.
4. An A-RELEASE-RQ is sent.
5. An A-RELEASE-RP is received.
| Exception | Condition |
|---|---|
| Exception |
Sending or receiving of one of the Dul or Dicom messages fails or the flow of messages differs
from the flow described.
|