Share via


IRemoteProxiedUserControl Interface

Definition

A VisualStudio.Extensibility user control that leverages the Remote UI datacontext proxying capabilities. This interface is meant to be extended by creating a technology-specific interface like IRemoteWpfUserControl.

[StreamJsonRpc.RpcMarshalable]
public interface IRemoteProxiedUserControl : IDisposable, Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteUserControl
[<StreamJsonRpc.RpcMarshalable>]
type IRemoteProxiedUserControl = interface
    interface IRemoteUserControl
    interface IDisposable
Public Interface IRemoteProxiedUserControl
Implements IDisposable, IRemoteUserControl
Derived
Attributes
StreamJsonRpc.RpcMarshalableAttribute
Implements

Methods

GetObjectAsync(ObjectId, CancellationToken)

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).

InvokeAsync(ObjectId, MessagePackFragment, CancellationToken)

This method allows invoking ExecuteAsync on an async command that is part of the DataContext of the control.

SetCollectionEntryAsync(ObjectId, Int32, MessagePackFragment, Nullable<ObjectVersion>, CancellationToken)

This method updates a property of an IList that is part of the DataContext of the control.

SetObjectPropertyAsync(ObjectId, String, MessagePackFragment, CancellationToken)

This method updates a property of an object that is part of the DataContext of the control.

Applies to