CodeActionWithOptions.GetOperationsAsync(Object, 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.