DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomAssociation Class / Abort Method

The "Cause" of the Abort

The "Cause" of the Abort




In This Topic
    Abort Method
    In This Topic
    Aborts an association
    Syntax
    'Declaration
     
    
    Public Sub Abort( _
       ByVal Reason As Byte, _
       ByVal Source As Byte _
    ) 
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim Reason As Byte
    Dim Source As Byte
     
    instance.Abort(Reason, Source)
    public void Abort( 
       byte Reason,
       byte Source
    )
    public:
    void Abort( 
       byte Reason,
       byte Source
    ) 

    Parameters

    Reason

    The "Cause" of the Abort

    Source

    The "Cause" of the Abort

    Remarks

    An A-ABORT request is sent, and the association is then terminated.

    The full meanings of the parameters are defined in DICOM Standard part 8, detailed as below:

    Source

    0 - DICOM UL service-user (initiated abort)

    1 - Reserved

    2 - DICOM UL service-provider (initiated abort)

    Reason

    0 - reason-not-specified

    1 - unrecognized-PDU

    2 - unexpected-PDU

    3 - reserved

    4 - unrecognized-PDU parameter

    5 - unexpected-PDU parameter

    6 - invalid-PDU-parameter value

    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