Class AAbort
- Namespace
- FellowOakDicom.Network
- Assembly
- fo-dicom.core.dll
A-ABORT
public class AAbort : PDU
- Inheritance
-
AAbort
- Implements
- Inherited Members
- Extension Methods
Constructors
AAbort(IMemoryProvider)
Initializes new A-ABORT
public AAbort(IMemoryProvider memoryProvider)
Parameters
memoryProvider
IMemoryProviderThe memory provider that will be used to allocate buffers
AAbort(DicomAbortSource, DicomAbortReason, IMemoryProvider)
Initializes new A-ABORT
public AAbort(DicomAbortSource source, DicomAbortReason reason, IMemoryProvider memoryProvider)
Parameters
source
DicomAbortSourceAbort source
reason
DicomAbortReasonAbort reason
memoryProvider
IMemoryProviderThe memory provider that will be used to allocate buffers
Properties
Reason
Abort reason
public DicomAbortReason Reason { get; }
Property Value
Source
Abort source
public DicomAbortSource Source { get; }
Property Value
Methods
Read(RawPDU)
Reads A-ABORT from PDU buffer
public void Read(RawPDU raw)
Parameters
raw
RawPDUPDU buffer
ToString()
public override string ToString()
Returns
WriteAsync(Stream, CancellationToken)
Writes A-ABORT to the provided stream
public Task WriteAsync(Stream stream, CancellationToken cancellationToken)
Parameters
stream
StreamThe stream to write the PDU to
cancellationToken
CancellationTokenThe token that cancels the write operation
Returns
- Task
A Task that represents the asynchronous operation