Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
StreamBaseClient..::Enqueue Method (StreamProperties, List<(Of <(<'Tuple>)>)>)

Enqueue tuples to a stream. The stream must not be tied to the output of any operator in the application. This method can block depending on network, or StreamBase server, congestion.

Note:
enqueue() will modify the tuple as it is enqueued. If you do not want the tuple modified you must make a copy of it before calling enqueue.

Namespace: StreamBase.SB.Client
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 10.3.0.0

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    public void Enqueue(
    	StreamProperties props,
    	List<Tuple> tuples
    )

    Public Sub Enqueue ( _
    	props As StreamProperties, _
    	tuples As List(Of Tuple) _
    )

    public:
    void Enqueue(
    	StreamProperties^ props,
    	List<Tuple^>^ tuples
    )

#### Parameters

props
  StreamProperties
  the StreamProperties to which to enqueue the tuple

tuples
  List<(Of <(<'Tuple>)>)>
  List of Tuple objects to enqueue

# Exceptions

Exception | Condition
--- | ---
StreamBase.SB.Client..::..StreamBaseNetworkException | Unable to connect to server
StreamBase.SB..::..StreamBaseException | General problem occurred

# See Also

StreamBaseClient Class
Enqueue Overload
StreamBase.SB.Client Namespace
StreamBase.SB.StreamProperties
StreamBase.SB.Tuple