IRemoteProxiedUserControl 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
利用远程 UI datacontext 代理功能的 VisualStudio.Extensibility 用户控件。 此接口旨在通过创建技术特定的接口(如 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) |
此方法更新 的 属性,该属性 IList 是 控件的 DataContext 的一部分。 |
| SetObjectPropertyAsync(ObjectId, String, MessagePackFragment, CancellationToken) |
此方法更新对象的属性,该对象是控件的 DataContext 的一部分。 |