Click or drag to resize

QueryAsyncCallback Delegate

User defined callback function for interface QueryAsync(IntPtr, String, QueryAsyncCallback, IntPtr),actually is a delegate in .Net. This function aim to handle the taoRes which points to the caller method's SQL result set.

Namespace:  TDengineDriver
Assembly:  TDengineDriver (in TDengineDriver.dll) Version: 1.0.6
Syntax
C#
public delegate void QueryAsyncCallback(
	IntPtr param,
	IntPtr taoRes,
	int code
)

Parameters

param
Type: SystemIntPtr
This parameter will sent by caller method (QueryAsync(IntPtr, String, QueryAsyncCallback, IntPtr))
taoRes
Type: SystemIntPtr
This is the retrieved by caller method's SQL.
code
Type: SystemInt32
0 for indicate operation success and negative for operation fail.
See Also