Fellow Oak DICOM
Search Results for

    Show / Hide Table of Contents

    Interface IDicomCStoreProvider

    Interface for a DICOM C-STORE Service Class Provider.

    Namespace: FellowOakDicom.Network
    Assembly: fo-dicom.core.dll
    Syntax
    public interface IDicomCStoreProvider

    Methods

    OnCStoreRequestAsync(DicomCStoreRequest)

    Callback for each Sop Instance received. The default implementation of DicomService is to write a temporary file that is automatically deleted for each SopInstance received. See the documentation for DicomService.CreateCStoreReceiveStream() and DicomService.GetCStoreDicomFile() for information about changing this behavior (e.g. writing to your own custom stream and avoiding the temporary file)

    Declaration
    Task<DicomCStoreResponse> OnCStoreRequestAsync(DicomCStoreRequest request)
    Parameters
    Type Name Description
    DicomCStoreRequest request

    C-STORE request.

    Returns
    Type Description
    System.Threading.Tasks.Task<DicomCStoreResponse>

    C-STORE response.

    OnCStoreRequestExceptionAsync(String, Exception)

    Callback for exceptions raised during the parsing of the received SopInstance. Note that it is possible to avoid parsing the file by overriding DicomService.GetCStoreDicomFile() if desired.

    Declaration
    Task OnCStoreRequestExceptionAsync(string tempFileName, Exception e)
    Parameters
    Type Name Description
    System.String tempFileName

    Name of the temporary file, may be null.

    System.Exception e

    Thrown exception.

    Returns
    Type Description
    System.Threading.Tasks.Task

    Extension Methods

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