ToolWindow.GetContentAsync(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 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.