Share via


CodeActionWithOptions.GetOperationsAsync(Object, CancellationToken) Method

Definition

Gets the CodeActionOperation's for this CodeAction given the specified options.

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

Parameters

options
Object

An object instance returned from a prior call to GetOptions(CancellationToken).

cancellationToken
CancellationToken

A cancellation token.

Returns

Applies to