CompletionParticipation Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Name | Value | Description |
---|---|---|
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. |
ProvidesItems | 1 | GetCompletionContextAsync(IAsyncCompletionSession, CompletionTrigger, SnapshotPoint, SnapshotSpan, CancellationToken) will be invoked, unless another IAsyncCompletionSources returned ExclusivelyProvidesItems. |
ExclusivelyProvidesItems | 2 | GetCompletionContextAsync(IAsyncCompletionSession, CompletionTrigger, SnapshotPoint, SnapshotSpan, CancellationToken) will be invoked only on this IAsyncCompletionSource and other IAsyncCompletionSources which returned ExclusivelyProvidesItems. |