LEADTOOLS Medical (Leadtools.Dicom.Scp assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ProcessNActionRequest(Byte,Int32,String,String,Int32,DicomDataSet,DicomDataSet) Method
See Also 
Leadtools.Dicom.Scp Namespace > ClientSession Class > ProcessNActionRequest Method : ProcessNActionRequest(Byte,Int32,String,String,Int32,DicomDataSet,DicomDataSet) Method



presentationID
The presentation ID of the N-ACTION request.
messageID
The message ID of the N-ACTION request.
requestedSOPClass
The requested SOP class of the N-ACTION request.
requestedSOPInstance
The requested SOP instance of the N-ACTION request.
actionType
Specifies the type of action to perform during the N-ACTION request.
requestDataset
A Leadtools.Dicom.DicomDataSet which contains additional information for the N-ACTION request.
responseDataset
A Leadtools.Dicom.DicomDataSet which contains information about the N-ACTION response.
presentationID
The presentation ID of the N-ACTION request.
messageID
The message ID of the N-ACTION request.
requestedSOPClass
The requested SOP class of the N-ACTION request.
requestedSOPInstance
The requested SOP instance of the N-ACTION request.
actionType
Specifies the type of action to perform during the N-ACTION request.
requestDataset
A Leadtools.Dicom.DicomDataSet which contains additional information for the N-ACTION request.
responseDataset
A Leadtools.Dicom.DicomDataSet which contains information about the N-ACTION response.
Process a DICOM N-ACTION request received from client and sends N-ACTION response to the client.

Syntax

Visual Basic (Declaration) 
Overloads Public Function ProcessNActionRequest( _
   ByVal presentationID As Byte, _
   ByVal messageID As Integer, _
   ByVal requestedSOPClass As String, _
   ByVal requestedSOPInstance As String, _
   ByVal actionType As Integer, _
   ByVal requestDataset As DicomDataSet, _
   ByVal responseDataset As DicomDataSet _
) As WaitHandle
Visual Basic (Usage)Copy Code
Dim instance As ClientSession
Dim presentationID As Byte
Dim messageID As Integer
Dim requestedSOPClass As String
Dim requestedSOPInstance As String
Dim actionType As Integer
Dim requestDataset As DicomDataSet
Dim responseDataset As DicomDataSet
Dim value As WaitHandle
 
value = instance.ProcessNActionRequest(presentationID, messageID, requestedSOPClass, requestedSOPInstance, actionType, requestDataset, responseDataset)

Parameters

presentationID
The presentation ID of the N-ACTION request.
messageID
The message ID of the N-ACTION request.
requestedSOPClass
The requested SOP class of the N-ACTION request.
requestedSOPInstance
The requested SOP instance of the N-ACTION request.
actionType
Specifies the type of action to perform during the N-ACTION request.
requestDataset
A Leadtools.Dicom.DicomDataSet which contains additional information for the N-ACTION request.
responseDataset
A Leadtools.Dicom.DicomDataSet which contains information about the N-ACTION response.

Return Value

A System.Threading.WaitHandle which is set after the last response is sent to the client.

Remarks

This is an asynchronous method which returns immediately. To wait for the processing to complete use the returned System.Threading.WaitHandle by calling System.Threading.WaitHandle.WaitOne(System.Int32,System.Boolean).

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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