Click or drag to resize

SubscribeCallback Delegate

In asynchronous subscribe mode, the prototype of the callback function.

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

Parameters

subscribe
Type: SystemIntPtr
Subscription object return by Subscribe(IntPtr, Boolean, String, String, SubscribeCallback, IntPtr, Int32)
tasRes
Type: SystemIntPtr
Query retrieve result set. (Note there may be no record in the result set.)
param
Type: SystemIntPtr
Additional parameters supplied by the client when Subscribe(IntPtr, Boolean, String, String, SubscribeCallback, IntPtr, Int32) is called.
code
Type: SystemInt32
Error code.
See Also