共用方式為


IRemoteProxiedUserControl 介面

定義

VisualStudio.Extensibility 使用者控件,利用遠端 UI 數據context Proxying 功能。 此介面旨在藉由建立類似的技術 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
衍生
屬性
StreamJsonRpc.RpcMarshalableAttribute
實作

方法

GetObjectAsync(ObjectId, CancellationToken)

這個方法允許查詢屬於控件 DataContext 之唯一可識別物件的值。 物件的值將會使用 ObjectValueNotificationAsync(MessagePackFragment, CancellationToken)傳送至用戶端。

InvokeAsync(ObjectId, MessagePackFragment, CancellationToken)

這個方法允許在屬於控件 DataContext 一部分的異步命令上叫用 ExecuteAsync。

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

這個方法會更新 屬於控件之 DataContext 一部分的 IList 屬性。

SetObjectPropertyAsync(ObjectId, String, MessagePackFragment, CancellationToken)

這個方法會更新 屬於控件之 DataContext 一部分的物件屬性。

適用於