Partilhar via


ISuggestedAction.GetActionSetsAsync(CancellationToken) Method

Definition

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.

Applies to