IAsyncLightBulbSession.PopulateWithData Method
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.
Caution
Use PopulateWithDataAsync instead.
Gets SuggestedActionSets through synchronous API and enqueues work to get SuggestedActionSets through asynchronous API. Displays the received actions in the UI and communicates updates through the SuggestedActionsUpdated event.
public:
void PopulateWithData(Microsoft::VisualStudio::Language::Intellisense::ISuggestedActionCategorySet ^ overrideRequestedActionCategories, Microsoft::VisualStudio::Utilities::IUIThreadOperationContext ^ operationContext);
[System.Obsolete("Use PopulateWithDataAsync instead.")]
public void PopulateWithData (Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet? overrideRequestedActionCategories, Microsoft.VisualStudio.Utilities.IUIThreadOperationContext? operationContext);
[<System.Obsolete("Use PopulateWithDataAsync instead.")>]
abstract member PopulateWithData : Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet * Microsoft.VisualStudio.Utilities.IUIThreadOperationContext -> unit
Public Sub PopulateWithData (overrideRequestedActionCategories As ISuggestedActionCategorySet, operationContext As IUIThreadOperationContext)
Parameters
- overrideRequestedActionCategories
- ISuggestedActionCategorySet
Set of suggested action categories to provide instead of ActionCategories.
- operationContext
- IUIThreadOperationContext
Supports cancellation and reporting progress
- Attributes
Remarks
When no data is available, the ILightBulbSession dismisses.