Table of Contents

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 IMemoryProvider

The 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 DicomAbortSource

Abort source

reason DicomAbortReason

Abort reason

memoryProvider IMemoryProvider

The memory provider that will be used to allocate buffers

Properties

Reason

Abort reason

public DicomAbortReason Reason { get; }

Property Value

DicomAbortReason

Source

Abort source

public DicomAbortSource Source { get; }

Property Value

DicomAbortSource

Methods

Read(RawPDU)

Reads A-ABORT from PDU buffer

public void Read(RawPDU raw)

Parameters

raw RawPDU

PDU buffer

ToString()

public override string ToString()

Returns

string

WriteAsync(Stream, CancellationToken)

Writes A-ABORT to the provided stream

public Task WriteAsync(Stream stream, CancellationToken cancellationToken)

Parameters

stream Stream

The stream to write the PDU to

cancellationToken CancellationToken

The token that cancels the write operation

Returns

Task

A Task that represents the asynchronous operation