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 (String, Tuple)

Enqueue a tuple to the named 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(
    	string sStreamName,
    	Tuple tuple
    )

    Public Sub Enqueue ( _
    	sStreamName As String, _
    	tuple As Tuple _
    )

    public:
    void Enqueue(
    	String^ sStreamName,
    	Tuple^ tuple
    )

#### Parameters

sStreamName
  String
  the name of the stream to which to enqueue the tuple

tuple
  Tuple
  tuple 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