Share via


RemoteUserControl.IRemoteProxiedUserControl.GetObjectAsync Method

Definition

This method allows querying for the value of a uniquely identifiable object that is part of the DataContext of the control. The value of the object will be sent to the client using ObjectValueNotificationAsync(MessagePackFragment, CancellationToken).

System.Threading.Tasks.Task<bool> IRemoteProxiedUserControl.GetObjectAsync (Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId id, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl.GetObjectAsync : Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl.GetObjectAsync : Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Function GetObjectAsync (id As ObjectId, cancellationToken As CancellationToken) As Task(Of Boolean) Implements IRemoteProxiedUserControl.GetObjectAsync

Parameters

cancellationToken
CancellationToken

Returns

Implements

Applies to