Compartilhar via


CompletionParticipation Enum

Definition

Describes the level of IAsyncCompletionSource's participation in the IAsyncCompletionSession.

public enum class CompletionParticipation
public enum CompletionParticipation
type CompletionParticipation = 
Public Enum CompletionParticipation
Inheritance
CompletionParticipation

Fields

DoesNotProvideItems 0

This IAsyncCompletionSource will not provide completion items. ApplicableToSpan returned by this IAsyncCompletionSource may be used in the prospective IAsyncCompletionSession if another IAsyncCompletionSource announced participation in completion.

ExclusivelyProvidesItems 2

GetCompletionContextAsync(IAsyncCompletionSession, CompletionTrigger, SnapshotPoint, SnapshotSpan, CancellationToken) will be invoked only on this IAsyncCompletionSource and other IAsyncCompletionSources which returned ExclusivelyProvidesItems.

ProvidesItems 1

GetCompletionContextAsync(IAsyncCompletionSession, CompletionTrigger, SnapshotPoint, SnapshotSpan, CancellationToken) will be invoked, unless another IAsyncCompletionSources returned ExclusivelyProvidesItems.

Applies to