Compartir a través de


ToolWindow.GetContentAsync(CancellationToken) Method

Definition

Gets the tool window's UI content.

public abstract System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteUserControl> GetContentAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetContentAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteUserControl>
Public MustOverride Function GetContentAsync (cancellationToken As CancellationToken) As Task(Of IRemoteUserControl)

Parameters

cancellationToken
CancellationToken

A cancellation token to cancel the in-progress content creation.

Returns

An IRemoteUserControl which represents the tool window's UI content.

Applies to