DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomAssociation Class / LastOperation Property



In This Topic
    LastOperation Property
    In This Topic
    Returns the last operation in the current association.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property LastOperation As DicomOperation
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim value As DicomOperation
     
    value = instance.LastOperation
    public DicomOperation LastOperation {get;}
    public:
    property DicomOperation LastOperation {
       DicomOperation get();
    }
    Remarks

    If % LastCommand :LastCommand% is not null then this property returns the Enumeration value contained in the (Keyword.CommandField) attribute of that last command, otherwise it returns Enums.Operation.NONE.

    Enumerated values for this property are:

    0x0 - NONE

    0x1 - C_STORE

    0x10 - C_GET

    0x20 - C_FIND

    0x21 - C_MOVE

    0x30 - C_ECHO

    0x100 - N_EVENT_REPORT

    0x110 - N_GET

    0x120 - N_SET

    0x130 - N_ACTION

    0x140 - N_CREATE

    0x150 - N_DELETE

    0xFFF - C_CANCEL

    0x8001 - C_STORE_RSP

    0x8010 - C_GET_RSP

    0x8020 - C_FIND_RSP

    0x8021 - C_MOVE_RSP

    0x8030 - C_ECHO_RSP

    0x8100 - N_EVENT_REPORT_RSP

    0x8110 - N_GET_RSP

    0x8120 - N_SET_RSP

    0x8130 - N_ACTION_RSP

    0x8140 - N_CREATE_RSP

    0x8150 - N_DELETE_RSP

    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