Starts an asynchronous request for condition.
Visual Basic |
---|
Public Function RequestCondition( _ ByVal cqg_condition_request As CQGConditionRequest _ ) As CQGCondition |
- cqg_condition_request
Specifies a condition request, which contains all of the parameters as properties.
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.