Partager via


CodeActionWithOptions.GetOperationsAsync(Object, CancellationToken) Méthode

Définition

Obtient les CodeActionOperation's pour cela CodeAction en fonction des options spécifiées.

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::CodeActions::CodeActionOperation ^> ^> ^ GetOperationsAsync(System::Object ^ options, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>> GetOperationsAsync (object options, System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>?> GetOperationsAsync (object? options, System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>?> GetOperationsAsync (object options, System.Threading.CancellationToken cancellationToken);
override this.GetOperationsAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
Public Function GetOperationsAsync (options As Object, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of CodeActionOperation))

Paramètres

options
Object

Instance d’objet retournée par un appel antérieur à GetOptions(CancellationToken).

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à