Click or drag to resize
OSIsoft, LLC

AFSearchThrowOnError Property

Specifies it an exception will be thrown for missing objects or invalid data in the query.

Namespace:  OSIsoft.AF.Search
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version:
public bool ThrowOnError { get; set; }

Property Value

Type: Boolean
If , then an exception will be thrown if any of the query filters are invalid for the type of object or a filter references an object that does not exist. If , then any errors are ignored. Note that basic syntax errors in query strings will be thrown in the constructor. The default value of this property is .
Version Information


Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8
See Also
Enabling Operational Intelligence