Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
SetAsynchronousOperations Method
See Also 
Leadtools.Dicom Namespace > DicomAssociate Class : SetAsynchronousOperations Method




enabled
true to enable Asynchronous Operations; otherwise, false.
invokedCount
The number of operations (messages) that can be sent without a response.
performedCount
The number of Asynchronous Operations performed.
Enables or disables Asynchronous Operation support. It also sets the number of operations that can be invoked, if enabled.

Syntax

Visual Basic (Declaration) 
Public Sub SetAsynchronousOperations( _
   ByVal enabled As Boolean, _
   ByVal invokedCount As Integer, _
   ByVal performedCount As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomAssociate
Dim enabled As Boolean
Dim invokedCount As Integer
Dim performedCount As Integer
 
instance.SetAsynchronousOperations(enabled, invokedCount, performedCount)
C# 
public void SetAsynchronousOperations( 
   bool enabled,
   int invokedCount,
   int performedCount
)
Managed Extensions for C++ 
public: void SetAsynchronousOperations( 
   bool enabled,
   int invokedCount,
   int performedCount
) 
C++/CLI 
public:
void SetAsynchronousOperations( 
   bool enabled,
   int invokedCount,
   int performedCount
) 

Parameters

enabled
true to enable Asynchronous Operations; otherwise, false.
invokedCount
The number of operations (messages) that can be sent without a response.
performedCount
The number of Asynchronous Operations performed.

Example

For an exmple, refer to IsRoleSelect.

Remarks

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 SetAsynchronousOperations.

InvokedOperationsCount specifies the number of Asynchronous Operations that may be invoked without a response. PerformedOperationsCount specifies the number of operations that have been completed.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features