DicomObjects.NET.8.48 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 System.Integer()
    'Usage
     
    
    Dim instance As ReadBehaviours
    Dim value() As System.Integer
     
    instance.IgnoreExceptions = value
     
    value = instance.IgnoreExceptions
    public System.int[] IgnoreExceptions {get; set;}
    public read-write property IgnoreExceptions: System.array of Integer; 
    public function get,set IgnoreExceptions : System.int[]
    public: __property System.int[]* get_IgnoreExceptions();
    public: __property void set_IgnoreExceptions( 
       System.int[][]* value
    );
    public:
    property System.array<int>^ IgnoreExceptions {
       System.array<int>^ get();
       void set (    System.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.8 or higher

    See Also