#include "ltdic.h"
L_INT LDicomNet::SendAssociateReject(nResult, nSource, nReason)
Sends an Associate Reject message to a connection. This function is available in the PACS Imaging Toolkit.
Type of rejection. Possible values are:
Value | Meaning |
---|---|
PDU_REJECT_RESULT_PERMANENT | [1] Rejected permanently. |
PDU_REJECT_RESULT_TRANSIENT | [2] Rejected transiently. |
The source of the rejection. Possible values are:
Value | Meaning |
---|---|
PDU_REJECT_SOURCE_USER | [1] DICOM Upper Layer Service User. |
PDU_REJECT_SOURCE_PROVIDER1 | [2] DICOM Upper Layer Service Provider (ASCE related function) |
PDU_REJECT_SOURCE_PROVIDER2 | [3] DICOM Upper Layer Service Provider (Presentation related function) |
Reason for the rejection. This depends on the value of nSource. If nSource is PDU_REJECT_SOURCE_USER, the possible values are:
Value | Meaning |
---|---|
PDU_REJECT_REASON_UNKNOWN | [1] Unknown |
PDU_REJECT_REASON_APPLICATION | [2] Application context name not supported. |
PDU_REJECT_REASON_CALLING | [3] Calling AE Title not recognized. |
PDU_REJECT_REASON_CALLED | [7] Called AE Title not recognized. |
Value | Meaning |
---|---|
PDU_REJECT_REASON_UNKNOWN | [1] Unknown. |
PDU_REJECT_REASON_VERSION | [2] Protocol version not supported. |
Value | Meaning |
---|---|
PDU_REJECT_REASON_CONGESTION | [1] Temporary congestion. |
PDU_REJECT_REASON_LIMIT | [2] Local client limit exceeded. |
Value | Meaning |
---|---|
0 | SUCCESS |
>0 | An error occurred. Refer to Return Codes. |
LDicomNet::SendAssociateReject is sent by the SCP in response to an LDicomNet::SendAssociateRequest call placed by an SCU. It generates a call to LDicomNet::OnReceiveAssociateReject on the SCU.
Required DLLs and Libraries
Win32, x64
For an example, refer to LDicomNet::SendCEchoRequest.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.