InvokableCodeLens.ExecuteAsync 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.
Invoke this CodeLens given the context information.
public abstract System.Threading.Tasks.Task ExecuteAsync (Microsoft.VisualStudio.Extensibility.Editor.CodeElementContext codeElementContext, Microsoft.VisualStudio.Extensibility.IClientContext clientContext, System.Threading.CancellationToken cancelToken);
abstract member ExecuteAsync : Microsoft.VisualStudio.Extensibility.Editor.CodeElementContext * Microsoft.VisualStudio.Extensibility.IClientContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public MustOverride Function ExecuteAsync (codeElementContext As CodeElementContext, clientContext As IClientContext, cancelToken As CancellationToken) As Task
Parameters
- codeElementContext
- CodeElementContext
Dynamic code element context at the point of invocation.
- clientContext
- IClientContext
Client context captured at the point of invocation.
- cancelToken
- CancellationToken
Cancellation token to observe.
Returns
A Task completed when CodeLens invocation is completed.