Partager via


AggregatedCompletionContext Class

Definition

This type is used to fetch completion data from available IAsyncCompletionSources without sorting, filtering and displaying the results in the GUI.

public ref class AggregatedCompletionContext sealed
[System.Diagnostics.DebuggerDisplay("{CompletionContext.Items.Length} items")]
public sealed class AggregatedCompletionContext
[<System.Diagnostics.DebuggerDisplay("{CompletionContext.Items.Length} items")>]
type AggregatedCompletionContext = class
Public NotInheritable Class AggregatedCompletionContext
Inheritance
AggregatedCompletionContext
Attributes

Constructors

AggregatedCompletionContext(CompletionContext, IAsyncCompletionSession)

Creates AggregatedCompletionContext which carries data aggregated from CompletionContexts returned by the IAsyncCompletionSources. This object also has a reference to the IAsyncCompletionSession which queried the IAsyncCompletionSources.

Properties

CompletionContext

Aggregate CompletionContext

Empty

Empty headless completion context, used when obtaining completion data was unsuccessful.

InertSession

IAsyncCompletionSession which interacted with IAsyncCompletionSources. This session can not be retrieved from IAsyncCompletionBroker. This session does not have full capability, and its purpose is to provide data in GetDescriptionAsync(IAsyncCompletionSession, CompletionItem, CancellationToken). This session must be dismissed when client no longer needs it.

Applies to