DicomObjects.NET.8.48 Documentation
DicomObjects.DicomWeb Namespace / WadoEventArgs Class / ReturnData Method
The requested instances
true if any request for a set of frames has already been actioned by user code






In This Topic
    ReturnData Method (WadoEventArgs)
    In This Topic
    Return the acquired data to the client
    Syntax
    'Declaration
     
    
    Public Sub ReturnData( _
       ByVal Results As System.Collections.Generic.IEnumerable(Of DicomDataSet), _
       ByVal FramesReduced As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As WadoEventArgs
    Dim Results As System.Collections.Generic.IEnumerable(Of DicomDataSet)
    Dim FramesReduced As System.Boolean
     
    instance.ReturnData(Results, FramesReduced)
    public void ReturnData( 
       System.Collections.Generic.IEnumerable<DicomDataSet> Results,
       System.bool FramesReduced
    )
    public procedure ReturnData( 
        Results: System.Collections.Generic.IEnumerable;
        FramesReduced: System.Boolean
    ); 
    public function ReturnData( 
       Results : System.Collections.Generic.IEnumerable,
       FramesReduced : System.boolean
    );
    public: void ReturnData( 
       System.Collections.Generic.IEnumerable<DicomDataSet*>* Results,
       System.bool FramesReduced
    ) 
    public:
    void ReturnData( 
       System.Collections.Generic.IEnumerable<DicomDataSet^>^ Results,
       System.bool FramesReduced
    ) 

    Parameters

    Results
    The requested instances
    FramesReduced
    true if any request for a set of frames has already been actioned by user code
    Remarks

    Although provided as DicomObjects.DicomDataSet objects, the data provided may be transformed within DicomObject internally in may ways before being returned to the requester, depending on the form of the request. This could include:

    • Selecting only the requested frames (if FramesReduced is false
    • Encoding into the requested transfer syntax or into XML or JSON
    • Removing large items and replacing by BulkData URIs
    • For bulk data requests, possibly onlyusing one or more items and discarding the rest

    It is quite possible that the same objects may be requested multiple times in quick succession, and therefore in a production environment it would be sensible to implement a caching scheme.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also