CQG API 4.0 - Revised
LastError Property
See Also  Send Feedback
CQGEnvironment Interface : LastError Property

Glossary Item Box

Description

Returns the last data error which occurred in CQG API.

Property type

Read-only property

Syntax

Visual Basic
Public Property LastError As CQGError

Return Type

Last error object represented as CQGError

Remarks

While there is no error the value of this property remains Nothing.

When an error occurs in CQG API a DataError event is fired, passing the error object as argument.

Example

See the usage of CQGEnvironment properties in the LineTimeChanged event's example section.

See Also