AsyncQueue<T>.Peek Method
Gets the value at the head of the queue without removing it from the queue.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Function Peek As T
public T Peek()
public:
T Peek()
member Peek : unit -> 'T
public function Peek() : T
Return Value
Type: T
The Task<TResult> at the head of the queue.
.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.