Fellow Oak DICOM
Search Results for

    Show / Hide Table of Contents

    Class AAbort

    A-ABORT

    Inheritance
    System.Object
    AAbort
    Implements
    PDU
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: FellowOakDicom.Network
    Assembly: fo-dicom.core.dll
    Syntax
    public class AAbort : PDU

    Constructors

    AAbort(IMemoryProvider)

    Initializes new A-ABORT

    Declaration
    public AAbort(IMemoryProvider memoryProvider)
    Parameters
    Type Name Description
    IMemoryProvider memoryProvider

    The memory provider that will be used to allocate buffers

    AAbort(DicomAbortSource, DicomAbortReason, IMemoryProvider)

    Initializes new A-ABORT

    Declaration
    public AAbort(DicomAbortSource source, DicomAbortReason reason, IMemoryProvider memoryProvider)
    Parameters
    Type Name Description
    DicomAbortSource source

    Abort source

    DicomAbortReason reason

    Abort reason

    IMemoryProvider memoryProvider

    The memory provider that will be used to allocate buffers

    Properties

    Reason

    Abort reason

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

    Source

    Abort source

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

    Methods

    Read(RawPDU)

    Reads A-ABORT from PDU buffer

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

    PDU buffer

    ToString()

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

    WriteAsync(Stream, CancellationToken)

    Writes A-ABORT to the provided stream

    Declaration
    public async Task WriteAsync(Stream stream, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.IO.Stream stream

    The stream to write the PDU to

    System.Threading.CancellationToken cancellationToken

    The token that cancels the write operation

    Returns
    Type Description
    System.Threading.Tasks.Task

    A Task that represents the asynchronous operation

    Implements

    PDU

    Extension Methods

    LinqExtensions.IsOneOf<T>(T, T[])
    In This Article
    Back to top Copyright (c) 2012-2025 fo-dicom contributors