Search Results for

    Show / Hide Table of Contents

    Class AAssociateRJ

    A-ASSOCIATE-RJ

    Inheritance
    Object
    AAssociateRJ
    Implements
    PDU
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Dicom.Network
    Assembly: cs.temp.dll.dll
    Syntax
    public class AAssociateRJ : PDU

    Constructors

    AAssociateRJ()

    Initializes new A-ASSOCIATE-RJ

    Declaration
    public AAssociateRJ()

    AAssociateRJ(DicomRejectResult, DicomRejectSource, DicomRejectReason)

    Initializes new A-ASSOCIATE-RJ

    Declaration
    public AAssociateRJ(DicomRejectResult rt, DicomRejectSource so, DicomRejectReason rn)
    Parameters
    Type Name Description
    DicomRejectResult rt

    Rejection result

    DicomRejectSource so

    Rejection source

    DicomRejectReason rn

    Rejection reason

    Properties

    Reason

    Rejection reason

    Declaration
    public DicomRejectReason Reason { get; }
    Property Value
    Type Description
    DicomRejectReason

    Result

    Rejection result

    Declaration
    public DicomRejectResult Result { get; }
    Property Value
    Type Description
    DicomRejectResult

    Source

    Rejection source

    Declaration
    public DicomRejectSource Source { get; }
    Property Value
    Type Description
    DicomRejectSource

    Methods

    Read(RawPDU)

    Reads A-ASSOCIATE-RJ from PDU buffer

    Declaration
    public void Read(RawPDU raw)
    Parameters
    Type Name Description
    RawPDU raw

    PDU buffer

    Remarks

    When reading the rejection reason, the previously read DicomRejectSource value is combined with the numerical reject reason from the RawPDU object to yield numerical values that matches the members of the DicomRejectReason enumeration.

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Write()

    Writes A-ASSOCIATE-RJ to PDU buffer

    Declaration
    public RawPDU Write()
    Returns
    Type Description
    RawPDU

    PDU buffer

    Remarks

    When writing the rejection reason to the RawPDU object, the DicomRejectSource specification in the underlying value is masked out, to ensure that the reason code matches the codes specified in Table 9-21 of DICOM Standard PS 3.8.

    Implements

    PDU
    In This Article
    Back to top Copyright (c) 2012-2021 fo-dicom contributors