Freigeben über


VisualCodeLens.GetVisualizationAsync Method

Definition

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.

Applies to