DicomObjects.NET.8.48 Documentation
DicomObjects.DicomWeb.WebClient Namespace / StowWebClient Class / StoreAsync Method
The instances to send
The encoding to use (native/json/xml)
The transfer syntax to use to send the instances

In This Topic
    StoreAsync Method
    In This Topic
    Asynchronously Stores a set of instances to the remote destination using STOW-RS
    Syntax
    'Declaration
     
    
    <System.Runtime.CompilerServices.AsyncStateMachineAttribute(DicomObjects.DicomWeb.WebClient.StowWebClient/d__2)> 
    Public Function StoreAsync( _ 
       ByVal DataSets As DicomDataSetCollection, _ 
       ByVal Encoding As DicomDataEncoding, _ 
       ByVal TransferSyntax As System.String _ 
    ) As System.Threading.Tasks.Task(Of DicomDataSet)
    [System.Runtime.CompilerServices.AsyncStateMachine(DicomObjects.DicomWeb.WebClient.StowWebClient/d__2)] 
    public System.Threading.Tasks.Task<DicomDataSet> StoreAsync( 
       DicomDataSetCollection DataSets, 
       DicomDataEncoding Encoding, 
       System.string TransferSyntax 
    )

    Parameters

    DataSets
    The instances to send
    Encoding
    The encoding to use (native/json/xml)
    TransferSyntax
    The transfer syntax to use to send the instances

    Return Value

    A Dataset containing the response, as detailed in DICOM Part 18
    Remarks
    If TransferSyntax is null, then the instances are sent using the transfer syntax in which they are currently held
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also