LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

SetAsynchronousOperations Method








true to enable Asynchronous Operations; otherwise, false.
The number of operations (messages) that can be sent without a response.
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. .NET support WinRT support
Syntax
public void SetAsynchronousOperations( 
   bool enabled,
   int invokedCount,
   int performedCount
)
'Declaration
 
Public Sub SetAsynchronousOperations( _
   ByVal enabled As Boolean, _
   ByVal invokedCount As Integer, _
   ByVal performedCount As Integer _
) 
'Usage
 
Dim instance As DicomAssociate
Dim enabled As Boolean
Dim invokedCount As Integer
Dim performedCount As Integer
 
instance.SetAsynchronousOperations(enabled, invokedCount, performedCount)
public void SetAsynchronousOperations( 
   bool enabled,
   int invokedCount,
   int performedCount
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomAssociate.SetAsynchronousOperations( 
   enabled ,
   invokedCount ,
   performedCount 
)
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.
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.

Example
For an example, refer to IsRoleSelect.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomAssociate Class
DicomAssociate Members
IsAsynchronousOperations Property
InvokedOperationsCount Property
PerformedOperationsCount Property

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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