←Select platform

SendNCreateRequest Method (DicomNet)

Summary

Sends an N-CREATE-REQ message to a peer member of a connection.

Syntax

C#
VB
WinRT C#
C++
public void SendNCreateRequest(  
   byte presentationID, 
   int messageID, 
   string affectedClass, 
   string instance, 
   Leadtools.Dicom.DicomDataSet dataSet 
) 
Public Sub SendNCreateRequest( _ 
   ByVal presentationID As Byte, _ 
   ByVal messageID As Integer, _ 
   ByVal affectedClass As String, _ 
   ByVal instance As String, _ 
   ByVal dataSet As Leadtools.Dicom.DicomDataSet _ 
)  
public void SendNCreateRequest(  
   byte presentationID, 
   int messageID, 
   string affectedClass, 
   string instance, 
   Leadtools.Dicom.DicomDataSet dataSet 
) 
 function Leadtools.Dicom.Networking.DicomNet.SendNCreateRequest(  
   presentationID , 
   messageID , 
   affectedClass , 
   instance , 
   dataSet  
) 
public: 
void SendNCreateRequest(  
   byte presentationID, 
   int messageID, 
   String^ affectedClass, 
   String^ instance, 
   Leadtools.Dicom.DicomDataSet^ dataSet 
)  

Parameters

presentationID
The Presentation Context ID. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data.

messageID
The Message ID. Each message sent by a member of a connection should have a unique ID. Since a member of a connection may send several messages, this ID allows that member to identify when a specific request has been completed.

affectedClass
The class affected by the request. This will be a SOP Class or a Meta SOP Class.

instance
The instance of the class. A server may, for example, have three instances of the Nuclear Medicine Class. This value identifies the data with a specific instance.

dataSet
A DicomDataSet object that contains the Data Set with the information to use when creating.

Remarks

Calling this method generates a call to OnReceiveNCreateRequest on the SCP. The SCP should respond by calling SendNCreateResponse which will generate a call to OnReceiveNCreateResponse. This method creates a new SOP Instance on the specified peer connection. The Data Set with the new information must be created and filled before calling this method.

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly