Class AAssociateRJ
A-ASSOCIATE-RJ
Implements
Inherited Members
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
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.