VisualCodeLens.GetVisualizationAsync 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 visualization for details of the CodeLens.
public abstract System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteUserControl> GetVisualizationAsync (Microsoft.VisualStudio.Extensibility.Editor.CodeElementContext codeElementContext, Microsoft.VisualStudio.Extensibility.IClientContext clientContext, System.Threading.CancellationToken token);
abstract member GetVisualizationAsync : Microsoft.VisualStudio.Extensibility.Editor.CodeElementContext * Microsoft.VisualStudio.Extensibility.IClientContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteUserControl>
Public MustOverride Function GetVisualizationAsync (codeElementContext As CodeElementContext, clientContext As IClientContext, token As CancellationToken) As Task(Of IRemoteUserControl)
Parameters
- codeElementContext
- CodeElementContext
Dynamic code element context at the point of request to provide visualization.
- clientContext
- IClientContext
Client context captured at the point of request for visualization.
- token
- CancellationToken
Cancellation token to observe.
Returns
UI control representing CodeLens details.