ExceptionOnError Property

NI Vision for Visual Basic

ExceptionOnError Property

Syntax

NIOCR.ExceptionOnError

Data Type

Boolean

Purpose

Determines if methods on the NIOCR control throw exceptions. Set this property to True to configure NIOCR control methods to throw exceptions on an error condition. Set this property to False configure NIOCR control methods to return a negative number to indicate the error. The default value is True.