Interface IDicomCStoreProvider
Interface for a DICOM C-STORE Service Class Provider.
Namespace: Dicom.Network
Assembly: cs.temp.dll.dll
Syntax
public interface IDicomCStoreProvider
Methods
OnCStoreRequest(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
DicomCStoreResponse OnCStoreRequest(DicomCStoreRequest request)
Parameters
Type | Name | Description |
---|---|---|
DicomCStoreRequest | request | C-STORE request. |
Returns
Type | Description |
---|---|
DicomCStoreResponse | C-STORE response. |
OnCStoreRequestException(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
void OnCStoreRequestException(string tempFileName, Exception e)
Parameters
Type | Name | Description |
---|---|---|
String | tempFileName | Name of the temporary file, may be null. |
Exception | e | Thrown exception. |