DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomServer Class / QueryReceived Event



In This Topic
    QueryReceived Event
    In This Topic
    Event fired when the object receives a DICOM C-FIND,C-GET or C-MOVE request
    Syntax
    'Declaration
     
    
    Public Event QueryReceived As QueryReceivedHandler
    'Usage
     
    
    Dim instance As DicomServer
    Dim handler As QueryReceivedHandler
     
    AddHandler instance.QueryReceived, handler
    public event QueryReceivedHandler QueryReceived
    public:
    event QueryReceivedHandler^ QueryReceived
    Remarks

    All information required for processing this event may be found within the various properties of the Connection. In particular, the Command property contains the main request (group 0000), including the CommandID (element 0000,0100), while the Request property contains the associated identifier. Calling one of the overloads of SendResponse method call on the Association should be used to reply to this request, if an identifier needs to be returned.

    You are expected to set the appropriate Status as a response for the request. This is accessible using the second parameter.

    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