DicomObjects.NET8 Documentation
DicomObjects.DicomWeb.WebClient Namespace / NPIWebClient Class / StoreAsync Method / StoreAsync(DicomDataSet,DicomDataEncoding,String,String) Method
DicomDataSet object representing the NPI
The encoding to use (native/json/xml)
The transfer syntax to use to send the instance
UID of the NPI



In This Topic
    StoreAsync(DicomDataSet,DicomDataEncoding,String,String) Method
    In This Topic
    Store a single NPI to origin server
    Syntax
    'Declaration
     
    
    <AsyncStateMachineAttribute(DicomObjects.DicomWeb.WebClient.NPIWebClient/d__36)> 
    Public Overloads Function StoreAsync( _ 
       ByVal NPI As DicomDataSet, _ 
       ByVal Encoding As DicomDataEncoding, _ 
       ByVal TransferSyntax As String, _ 
       Optional ByVal UID As String _ 
    ) As Task
    'Usage
     
    
    Dim instance As NPIWebClient
    Dim NPI As DicomDataSet
    Dim Encoding As DicomDataEncoding
    Dim TransferSyntax As String
    Dim UID As String
    Dim value As Task
     
    value = instance.StoreAsync(NPI, Encoding, TransferSyntax, UID)
    [AsyncStateMachine(DicomObjects.DicomWeb.WebClient.NPIWebClient/d__36)] 
    public Task StoreAsync( 
       DicomDataSet NPI, 
       DicomDataEncoding Encoding, 
       string TransferSyntax, 
       string UID 
    )
    [AsyncStateMachine(DicomObjects.DicomWeb.WebClient.NPIWebClient/d__36)] 
    public: 
    Task^ StoreAsync( 
       DicomDataSet^ NPI, 
       DicomDataEncoding Encoding, 
       String^ TransferSyntax, 
       String^ UID 
    ) 

    Parameters

    NPI
    DicomDataSet object representing the NPI
    Encoding
    The encoding to use (native/json/xml)
    TransferSyntax
    The transfer syntax to use to send the instance
    UID
    UID of the NPI
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also