언어

FileEntityAsyncQueue 클래스

정의

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)
상속
FileEntityAsyncQueue

생성자

Name Description
FileEntityAsyncQueue(Task<Boolean>)

속성

Name Description
AreResultsAccurate

큐의 내용이 정확한지 여부를 나타내는 부울을 반환하는 작업을 가져옵니다.

Completion

호출되고 큐가 비어 있을 때 Complete() 완료된 상태로 전환되는 작업을 가져옵니다.

(다음에서 상속됨 AsyncQueue<T>)
Count

현재 큐에 있는 요소 수를 가져옵니다.

(다음에서 상속됨 AsyncQueue<T>)
InitialCapacity

큐의 초기 용량을 가져옵니다.

(다음에서 상속됨 AsyncQueue<T>)
IsCompleted

큐가 비어 있고 Complete() 호출되었는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 AsyncQueue<T>)
IsEmpty

큐가 현재 비어 있는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 AsyncQueue<T>)
SyncRoot

이 큐에서 사용하는 동기화 개체를 가져옵니다.

(다음에서 상속됨 AsyncQueue<T>)

메서드

Name Description
Complete()

더 이상 요소가 큐에 추가되지 않는다는 신호입니다.

(다음에서 상속됨 AsyncQueue<T>)
DequeueAsync(CancellationToken)

결과가 큐의 헤드에 있는 요소인 작업을 가져옵니다.

(다음에서 상속됨 AsyncQueue<T>)
Enqueue(T)

큐의 꼬리에 요소를 추가합니다.

(다음에서 상속됨 AsyncQueue<T>)
OnCompleted()

큐가 완료될 때 호출됩니다.

(다음에서 상속됨 AsyncQueue<T>)
OnDequeued(T)

값이 큐에서 해제될 때 호출됩니다.

(다음에서 상속됨 AsyncQueue<T>)
OnEnqueued(T, Boolean)

값을 큐에 찍을 때 호출됩니다.

(다음에서 상속됨 AsyncQueue<T>)
Peek()

큐에서 제거하지 않고 큐의 머리에서 값을 가져옵니다.

(다음에서 상속됨 AsyncQueue<T>)
ToArray()

이 큐의 복사본을 배열로 반환합니다.

(다음에서 상속됨 AsyncQueue<T>)
TryDequeue(Predicate<T>, T)

지정된 검사를 충족하는 요소를 사용할 수 있는 경우 큐의 머리에서 요소를 즉시 큐에서 제거합니다. 그렇지 않으면 요소 없이 반환됩니다.

(다음에서 상속됨 AsyncQueue<T>)
TryDequeue(T)

사용할 수 있는 경우 큐의 머리에서 요소를 즉시 큐에서 제거합니다. 그렇지 않으면 요소 없이 반환됩니다.

(다음에서 상속됨 AsyncQueue<T>)
TryEnqueue(T)

아직 완료되지 않은 경우 큐의 꼬리에 요소를 추가합니다.

(다음에서 상속됨 AsyncQueue<T>)
TryPeek(T)

비어있지 않은 경우 큐에서 제거하지 않고 큐의 머리에서 값을 가져옵니다.

(다음에서 상속됨 AsyncQueue<T>)

적용 대상