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: TAn object to be added to the cache
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.