ISuggestedAction.GetActionSetsAsync(CancellationToken) 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.
Gets a list of nested sets of suggested actions.
public:
System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Language::Intellisense::SuggestedActionSet ^> ^> ^ GetActionSetsAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSet>> GetActionSetsAsync (System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSet>?> GetActionSetsAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetActionSetsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSet>>
Public Function GetActionSetsAsync (cancellationToken As CancellationToken) As Task(Of IEnumerable(Of SuggestedActionSet))
Parameters
- cancellationToken
- CancellationToken
Returns
A task whose result is either a list of SuggestedActionSets representing nested suggested actions, or null if this ISuggestedAction instance has no nested suggested actions.