StreamingCollection<T>.Enqueue Method

Enqueue is used to add an item to the cache in a FIFO manner. This means that the first item added to the collection is the first item returned to the caller (First In First Out order).

This is the method that should be used to handle cache management.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub Enqueue ( _
    item As T _
)
public void Enqueue(
    T item
)
public:
void Enqueue(
    T item
)
member Enqueue : 
        item:'T -> unit
public function Enqueue(
    item : T
)

Parameters

  • item
    Type: T

    An object to be added to the cache

.NET Framework Security

See Also

Reference

StreamingCollection<T> Class

Microsoft.TeamFoundation.Framework.Server Namespace