RemoteUserControl.IRemoteProxiedUserControl.InvokeAsync 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.
This method allows invoking ExecuteAsync on an async command that is part of the DataContext of the control.
System.Threading.Tasks.Task<bool> IRemoteProxiedUserControl.InvokeAsync (Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId id, Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment parameter, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl.InvokeAsync : Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId * Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl.InvokeAsync : Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId * Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Function InvokeAsync (id As ObjectId, parameter As MessagePackFragment, cancellationToken As CancellationToken) As Task(Of Boolean) Implements IRemoteProxiedUserControl.InvokeAsync
Parameters
- id
- ObjectId
- parameter
- MessagePackFragment
- cancellationToken
- CancellationToken