次の方法で共有


FileEntityAsyncQueue Class

Definition

public ref class FileEntityAsyncQueue sealed : Microsoft::VisualStudio::Threading::AsyncQueue<Microsoft::VisualStudio::Shell::Internal::FileEnumerationService::FileEntity ^>
public sealed class FileEntityAsyncQueue : Microsoft.VisualStudio.Threading.AsyncQueue<Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.FileEntity>
type FileEntityAsyncQueue = class
    inherit AsyncQueue<FileEntity>
Public NotInheritable Class FileEntityAsyncQueue
Inherits AsyncQueue(Of FileEntity)
Inheritance
FileEntityAsyncQueue

Constructors

FileEntityAsyncQueue(Task<Boolean>)

Properties

AreResultsAccurate

Gets a task returning a boolean indicating whether the content of the queue is accurate or not.

Completion

Gets a task that transitions to a completed state when Complete() is called and the queue is empty.

(Inherited from AsyncQueue<T>)
Count

Gets the number of elements currently in the queue.

(Inherited from AsyncQueue<T>)
InitialCapacity

Gets the initial capacity for the queue.

(Inherited from AsyncQueue<T>)
IsCompleted

Gets a value indicating whether the queue is both empty and had Complete() invoked.

(Inherited from AsyncQueue<T>)
IsEmpty

Gets a value indicating whether the queue is currently empty.

(Inherited from AsyncQueue<T>)
SyncRoot

Gets the synchronization object used by this queue.

(Inherited from AsyncQueue<T>)

Methods

Complete()

Signals that no further elements will be enqueued.

(Inherited from AsyncQueue<T>)
DequeueAsync(CancellationToken)

Gets a task whose result is the element at the head of the queue.

(Inherited from AsyncQueue<T>)
Enqueue(T)

Adds an element to the tail of the queue.

(Inherited from AsyncQueue<T>)
OnCompleted()

Invoked when the queue is completed.

(Inherited from AsyncQueue<T>)
OnDequeued(T)

Invoked when a value is dequeued.

(Inherited from AsyncQueue<T>)
OnEnqueued(T, Boolean)

Invoked when a value is enqueued.

(Inherited from AsyncQueue<T>)
Peek()

Gets the value at the head of the queue without removing it from the queue.

(Inherited from AsyncQueue<T>)
ToArray()

Returns a copy of this queue as an array.

(Inherited from AsyncQueue<T>)
TryDequeue(Predicate<T>, T)

Immediately dequeues the element from the head of the queue if one is available that satisfies the specified check; otherwise returns without an element.

(Inherited from AsyncQueue<T>)
TryDequeue(T)

Immediately dequeues the element from the head of the queue if one is available, otherwise returns without an element.

(Inherited from AsyncQueue<T>)
TryEnqueue(T)

Adds an element to the tail of the queue if it has not yet completed.

(Inherited from AsyncQueue<T>)
TryPeek(T)

Gets the value at the head of the queue without removing it from the queue, if it is non-empty.

(Inherited from AsyncQueue<T>)

Applies to