This section provides a code example for reading tuple data from a stream in .NET.
Read a tuple from the stream. The example calls this statement inside a loop:
ITuple tuple = subscription.GetNextTuple(1000);
The parameter specifies a timeout for this blocking call, in milliseconds.
In your application,you process the data in the tuple according to your design, but this example simply prints out the tuple using the message serializer.
Make sure to check the return value of getNextTuple for NULL, which indicates that no row is available.