←Select platform

StorageCommit(DicomScp,IEnumerable<Leadtools.Dicom.Common.DataTypes.SopInstanceReference>,string,StorageCommitOptions) Method (StoreScu)

Summary

Sends a storage commit request message to a peer member of a connection defined by SCP.

Syntax

C#
VB
C++
public string StorageCommit( 
   DicomScp Scp, 
   System.Collections.Generic.IEnumerable<Leadtools.Dicom.Common.DataTypes.SopInstanceReference> sopInstanceReferences, 
   string transactionUid, 
   StorageCommitOptions storageCommitOptions 
) 
Public Function StorageCommit( 
   ByVal Scp As DicomScp, 
   ByVal sopInstanceReferences As System.Collections.Generic.IEnumerable(Of Leadtools.Dicom.Common.DataTypes.SopInstanceReference), 
   ByVal transactionUid As String, 
   ByVal storageCommitOptions As StorageCommitOptions 
) As String 
public:  
   String^ StorageCommit( 
      DicomScp^ Scp, 
      System::Collections::Generic::IEnumerable<Leadtools::Dicom::Common::DataTypes::SopInstanceReference^>^ sopInstanceReferences, 
      String^ transactionUid, 
      StorageCommitOptions^ storageCommitOptions 
   ) 

Parameters

Scp

The peer connection to send the storage commit request to.

sopInstanceReferences

List of SopInstanceReference objects to store.

transactionUid

The UID for the transaction. If null or empty, it will be generated and returned.

storageCommitOptions

A StorageCommitOptions which contains the options for the store.

Return Value

The UID for the transaction. If transactionUid was null or empty, a new UID will be generated and returned, otherwise, the same value will be returned.

Remarks

This overload uses a list of SopInstanceReference to prepare the DicomDataSet that is used with the N-Action-Req.

If you have a list of DICOM files, you can use StorageCommit(DicomScp,IEnumerable<T><string>,string,StorageCommitOptions).

If you have a DicomDataSet that contains all the StorageCommit (N-Action-Req), you can use StorageCommit(DicomScp,DicomDataSet,StorageCommitOptions).

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom.Scu Assembly
Click or drag to resize