DicomObjects.NET.V8
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: .NET CLR 4.0 or higher

    See Also