Share via


IRemoteProxiedUserControl2 Interface

Definition

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

[StreamJsonRpc.RpcMarshalable]
public interface IRemoteProxiedUserControl2 : IDisposable, Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl
[<StreamJsonRpc.RpcMarshalable>]
type IRemoteProxiedUserControl2 = interface
    interface IRemoteProxiedUserControl
    interface IRemoteUserControl
    interface IDisposable
Public Interface IRemoteProxiedUserControl2
Implements IDisposable, IRemoteProxiedUserControl
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).

(Inherited from IRemoteProxiedUserControl)
InvokeAsync(ObjectId, MessagePackFragment, CancellationToken)

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

(Inherited from IRemoteProxiedUserControl)
InvokeAsync(ObjectId, MessagePackFragment, IReadOnlyDictionary<String,String>, CancellationToken)

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

(Inherited from IRemoteProxiedUserControl)
SetObjectPropertyAsync(ObjectId, String, MessagePackFragment, CancellationToken)

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

(Inherited from IRemoteProxiedUserControl)

Applies to