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

    See Also