共用方式為


IRemoteProxiedUserControl2 介面

定義

利用遠端 UI 資料內容 Proxy 功能之 VisualStudio.Extensibility 使用者控制件。 此介面旨在藉由建立類似的技術 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
屬性
StreamJsonRpc.RpcMarshalableAttribute
實作

方法

GetObjectAsync(ObjectId, CancellationToken)

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

(繼承來源 IRemoteProxiedUserControl)
InvokeAsync(ObjectId, MessagePackFragment, CancellationToken)

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

(繼承來源 IRemoteProxiedUserControl)
InvokeAsync(ObjectId, MessagePackFragment, IReadOnlyDictionary<String,String>, CancellationToken)

在屬於控件 DataContext 一部分的異步命令上叫用 ExecuteAsync。

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

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

(繼承來源 IRemoteProxiedUserControl)
SetObjectPropertyAsync(ObjectId, String, MessagePackFragment, CancellationToken)

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

(繼承來源 IRemoteProxiedUserControl)

適用於