DicomObjects.NET Core Documentation
DicomObjects Namespace / ReadBehaviours Class / IgnoreExceptions Property



In This Topic
    IgnoreExceptions Property
    In This Topic
    Ignores a list of DicomObjects error codes accessible from DicomException.Code during reading from disk/network and puts together what has been successfully read. This is particularly useful to skip exceptions and keep the association open to continue reading.
    Syntax
    'Declaration
     
    
    Public Property IgnoreExceptions As Integer()
    'Usage
     
    
    Dim instance As ReadBehaviours
    Dim value() As Integer
     
    instance.IgnoreExceptions = value
     
    value = instance.IgnoreExceptions
    public int[] IgnoreExceptions {get; set;}
    public:
    property array<int>^ IgnoreExceptions {
       array<int>^ get();
       void set (    array<int>^ value);
    }
    Remarks
    Similar to IgnoreAfterPixels, in which it excludes only error in while reading after Pixel data. This is more expansive as it ignores all listed exceptions while reading
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also