CQG API 4.0 - Revised
RequestCondition Method
See Also  Send Feedback
cqg_condition_request

Specifies a condition request, which contains all of the parameters as properties.

CQGCEL Interface : RequestCondition Method

Glossary Item Box

Description

Starts an asynchronous request for condition.

Syntax

Visual Basic
Public Function RequestCondition( _
   ByVal cqg_condition_request As CQGConditionRequest _
) As CQGCondition

Parameters

cqg_condition_request

Specifies a condition request, which contains all of the parameters as properties.

Remarks

In case values are provided to cqg_condition_request properties where not required, that values are ignored.

In case values are not provided to cqg_condition_request properties where they are required, an exception will be thrown.

An exception will be thrown if asynchronous request could not be made.

Otherwise, returns CQGCondition object which doesn't contain any condition results yet and status is rsInProgress.

Notes:

It is a good practice to cancel the request as soon as it becomes unnecessary. Such approach allows using memory resources more optimal.

Call RemoveCondition for request cancelling.

See Also