Compartilhar via


CodeActionWithOptions.GetOperationsAsync(Object, CancellationToken) Método

Definição

Obtém os CodeActionOperation's para isso CodeAction , dadas as opções especificadas.

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))

Parâmetros

options
Object

Uma instância de objeto retornada de uma chamada anterior para GetOptions(CancellationToken).

cancellationToken
CancellationToken

Um token de cancelamento.

Retornos

Aplica-se a