Compartir a través de


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

See Also

Reference

AsyncQueue<T> Class

Microsoft.VisualStudio.Threading Namespace