DicomObjects.NET8 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
     
    
    <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 Integer _
    ) 
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim Data As DicomDataSet
    Dim Status As Integer
     
    instance.SendResponse(Data, Status)
    [Obsolete("This method should be replaced by QueryReceivedArgs.SendResponse (e.SendResponse) which also handles DICOM Asynchronous operations")]
    public void SendResponse( 
       DicomDataSet Data,
       int Status
    )
    [Obsolete("This method should be replaced by QueryReceivedArgs.SendResponse (e.SendResponse) which also handles DICOM Asynchronous operations")]
    public:
    void SendResponse( 
       DicomDataSet^ Data,
       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: 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