DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomAssociation Class / SendResponse Method / SendResponse(DicomDataSet,Int32) Method

The DataSet to be returned to the requesting application, which describes a single successful match

The status associated with the above data, indicating the level of matching achieved







In This Topic
    SendResponse(DicomDataSet,Int32) Method
    In This Topic
    Returns a single result to a C-FIND request
    Syntax
    'Declaration
     
    
    <System.ObsoleteAttribute("This method should be replaced by QueryReceivedArgs.SendResponse (e.SendResponse) which also handles DICOM Asynchronous operations")>
    Public Overloads Sub SendResponse( _
       ByVal Data As DicomDataSet, _
       ByVal Status As System.Integer _
    ) 
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim Data As DicomDataSet
    Dim Status As System.Integer
     
    instance.SendResponse(Data, Status)
    [System.Obsolete("This method should be replaced by QueryReceivedArgs.SendResponse (e.SendResponse) which also handles DICOM Asynchronous operations")]
    public void SendResponse( 
       DicomDataSet Data,
       System.int Status
    )
    public procedure SendResponse( 
        Data: DicomDataSet;
        Status: System.Integer
    ); 
    System.ObsoleteAttribute("This method should be replaced by QueryReceivedArgs.SendResponse (e.SendResponse) which also handles DICOM Asynchronous operations")
    public function SendResponse( 
       Data : DicomDataSet,
       Status : System.int
    );
    [System.Obsolete("This method should be replaced by QueryReceivedArgs.SendResponse (e.SendResponse) which also handles DICOM Asynchronous operations")]
    public: void SendResponse( 
       DicomDataSet* Data,
       System.int Status
    ) 
    [System.Obsolete("This method should be replaced by QueryReceivedArgs.SendResponse (e.SendResponse) which also handles DICOM Asynchronous operations")]
    public:
    void SendResponse( 
       DicomDataSet^ Data,
       System.int Status
    ) 

    Parameters

    Data

    The DataSet to be returned to the requesting application, which describes a single successful match

    Status

    The status associated with the above data, indicating the level of matching achieved

    Remarks

    The data returned by this method is sent to the requesting application as a C-FIND response, with the status indicated. Once the match has been returned, a final SendResponse call should be made to terminate the return.

    As the status for all returned matches must be "Pending", only the values 0xFF00 and 0xFF01 are allowed for Status, the meanings being as follows:

    • 0xFF00 : "Optional Keys were supported in the same manner as Required Keys"
    • 0xFF01 : "Warning that one or more Optional Keys were not supported for existence and/or matching for this Identifier"
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also