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



presentationID
The presentation ID of the N-CREATE request.
messageID
The message ID of the N-CREATE request.
abstractClass
The Abstract Syntax of the N-CREATE request.
affectedSOPInstance
The SOP Class of the new SOP Instance which is to be created.
requestDataset
A Leadtools.Dicom.DicomDataSet which contains the attribute list which are assigned for the new SOP Instance.
command
The Leadtools.Dicom.Scp.Command.DicomCommand which will be used to process the N-CREATE request.
presentationID
The presentation ID of the N-CREATE request.
messageID
The message ID of the N-CREATE request.
abstractClass
The Abstract Syntax of the N-CREATE request.
affectedSOPInstance
The SOP Class of the new SOP Instance which is to be created.
requestDataset
A Leadtools.Dicom.DicomDataSet which contains the attribute list which are assigned for the new SOP Instance.
command
The Leadtools.Dicom.Scp.Command.DicomCommand which will be used to process the N-CREATE request.
Process a DICOM N-CREATE request received from client and sends N-CREATE response to the client.

Syntax

Visual Basic (Declaration) 
<ObsoleteAttribute("Use the overloaded method without the requestDataSet parameter. This method will be removed in future releaes")>
Overloads Public Function ProcessNCreateRequest( _
   ByVal presentationID As Byte, _
   ByVal messageID As Integer, _
   ByVal abstractClass As String, _
   ByVal affectedSOPInstance As String, _
   ByVal requestDataset As DicomDataSet, _
   ByVal command As DicomCommand _
) As WaitHandle
Visual Basic (Usage)Copy Code
Dim instance As ClientSession
Dim presentationID As Byte
Dim messageID As Integer
Dim abstractClass As String
Dim affectedSOPInstance As String
Dim requestDataset As DicomDataSet
Dim command As DicomCommand
Dim value As WaitHandle
 
value = instance.ProcessNCreateRequest(presentationID, messageID, abstractClass, affectedSOPInstance, requestDataset, command)
C# 
[ObsoleteAttribute("Use the overloaded method without the requestDataSet parameter. This method will be removed in future releaes")]
public WaitHandle ProcessNCreateRequest( 
   byte presentationID,
   int messageID,
   string abstractClass,
   string affectedSOPInstance,
   DicomDataSet requestDataset,
   DicomCommand command
)
C++/CLI 
[ObsoleteAttribute("Use the overloaded method without the requestDataSet parameter. This method will be removed in future releaes")]
public:
WaitHandle^ ProcessNCreateRequest( 
   byte presentationID,
   int messageID,
   String^ abstractClass,
   String^ affectedSOPInstance,
   DicomDataSet^ requestDataset,
   DicomCommand^ command
) 

Parameters

presentationID
The presentation ID of the N-CREATE request.
messageID
The message ID of the N-CREATE request.
abstractClass
The Abstract Syntax of the N-CREATE request.
affectedSOPInstance
The SOP Class of the new SOP Instance which is to be created.
requestDataset
A Leadtools.Dicom.DicomDataSet which contains the attribute list which are assigned for the new SOP Instance.
command
The Leadtools.Dicom.Scp.Command.DicomCommand which will be used to process the N-CREATE request.

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