DicomObjects.NET.V8
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: .NET CLR 4.0 or higher

    See Also