LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
OnStore Method
See Also 
Leadtools.Dicom.AddIn.Interfaces Namespace > IProcessCStore Interface : OnStore Method



Client
The client that sent the command.
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.
Priority
The priority level of the message. The Service Class Provider may or may not support priority. Therefore, setting this parameter may or may not have any effect.
MoveAE
The name of the Application Entity that originally requested the move. For a simple storage request from a client to a server, this will be an empty string. When the request is a sub-operation of a C-MOVE, this will contain the name of the AE that requested the move.
MoveMessageId
The ID of the original move request message. For a simple storage request from a client to a server, this will be 0. When the request is a sub-operation of a C-MOVE, this will contain the original message ID of the C-MOVE request.
Request
A DicomDataSet object that contains the Data Set to be stored.
Client
The client that sent the command.
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.
Priority
The priority level of the message. The Service Class Provider may or may not support priority. Therefore, setting this parameter may or may not have any effect.
MoveAE
The name of the Application Entity that originally requested the move. For a simple storage request from a client to a server, this will be an empty string. When the request is a sub-operation of a C-MOVE, this will contain the name of the AE that requested the move.
MoveMessageId
The ID of the original move request message. For a simple storage request from a client to a server, this will be 0. When the request is a sub-operation of a C-MOVE, this will contain the original message ID of the C-MOVE request.
Request
A DicomDataSet object that contains the Data Set to be stored.
Allows addin to handle C-STORE-REQ command.

Syntax

Visual Basic (Declaration) 
Function OnStore( _
   ByVal Client As DicomClient, _
   ByVal PresentationId As Byte, _
   ByVal MessageId As Integer, _
   ByVal AffectedClass As String, _
   ByVal Instance As String, _
   ByVal Priority As DicomCommandPriorityType, _
   ByVal MoveAE As String, _
   ByVal MoveMessageId As Integer, _
   ByVal Request As DicomDataSet _
) As DicomCommandStatusType
Visual Basic (Usage)Copy Code
Dim instance As IProcessCStore
Dim Client As DicomClient
Dim PresentationId As Byte
Dim MessageId As Integer
Dim AffectedClass As String
Dim Instance As String
Dim Priority As DicomCommandPriorityType
Dim MoveAE As String
Dim MoveMessageId As Integer
Dim Request As DicomDataSet
Dim value As DicomCommandStatusType
 
value = instance.OnStore(Client, PresentationId, MessageId, AffectedClass, Instance, Priority, MoveAE, MoveMessageId, Request)

Parameters

Client
The client that sent the command.
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.
Priority
The priority level of the message. The Service Class Provider may or may not support priority. Therefore, setting this parameter may or may not have any effect.
MoveAE
The name of the Application Entity that originally requested the move. For a simple storage request from a client to a server, this will be an empty string. When the request is a sub-operation of a C-MOVE, this will contain the name of the AE that requested the move.
MoveMessageId
The ID of the original move request message. For a simple storage request from a client to a server, this will be 0. When the request is a sub-operation of a C-MOVE, this will contain the original message ID of the C-MOVE request.
Request
A DicomDataSet object that contains the Data Set to be stored.

Return Value

A status representing the outcome of processing.

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.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features