#include "ltdic.h"
L_INT LDicomAssociate::SetAsyncOperations(bEnabled, nInvoked, nPerformed)
Enables or disables Asynchronous Operation support. It also sets the number of operations that can be invoked if enabled.
Flag that indicates whether to enable or disable Asynchronous Operations. Possible values are:
Value | Meaning |
---|---|
TRUE | Enable Asynchronous Operations. |
FALSE | Disable Asynchronous Operations. |
The number of operations (messages) that can be sent without a response.
The number of Asynchronous Operations performed.
Value | Meaning |
---|---|
0 | SUCCESS |
>0 | An error occurred. Refer to Return Codes. |
If a DICOM Associate connection does not support Asynchronous Operations, then an Application Entity must wait for the response from one message before sending another. If Asynchronous Operations are supported, multiple messages may be sent without waiting for a response. The number of messages that may be sent is set using LDicomAssociate::SetAsyncOperations.
To determine the number of Asynchronous Operations that may be invoked without a response, call LDicomAssociate::GetInvokedOperations. To determine the number of operations that have been completed, call LDicomAssociate::GetPerformedOperations.
Required DLLs and Libraries
Win32, x64
For an example, refer to LDicomAssociate::IsAsyncOperations.
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