CloseForced method (ILEADDicomNet)

VB.NET example

C# example

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short CloseForced(long hNet, VARIANT_BOOL bForced);

Overview

Refer to Closing an ISCL Connection

Remarks

(Medical Imaging Suite only) Closes an ISCL connection.

When bForced is TRUE, the connection is closed immediately. Therefore, it is best to determine if the ISCL message queue is empty before calling this method. To determine whether the ISCL queue is empty, use the IsISCLQueueEmpty method.

Please note that CloseForced(hNet, FALSE) is queued in the ISCL message queue. (It will be processed later.) CloseForced(hNet, TRUE) is immediate, however.

See Also

Elements:

IsISCLQueueEmpty method

Topics:

DICOM Security: Working with ISCL