GetSelectedItemOptions 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.
Inidicates how much to wait for GetSelectedItemAsync(GetSelectedItemOptions, CancellationToken) The shorter wait comes with a tradeoff of receiving a potentially stale item or no item.
public enum class GetSelectedItemOptions
public enum GetSelectedItemOptions
type GetSelectedItemOptions =
Public Enum GetSelectedItemOptions
- Inheritance
-
GetSelectedItemOptions
Fields
Name | Value | Description |
---|---|---|
GetLastAvailableItem | 0 | Don't wait and immediately return the item which was last known to be selected.
If no item is available yet, a |
WaitForComputation | 1 | Wait for a computation to select the appropriate completion item given the current state.
If not items are not available yet, a |
WaitForContextAndComputation | 2 | Wait to receive list of items and compute the selected completion item. This option may result in the longest wait, but is useful for scenarios when user explicitly asks for a completion item. |