Share via


IRemoteProxiedUserControlClient Interface

Definition

Callback interface allowing an IRemoteProxiedUserControl to notify the client about changes to the datacontext.

[StreamJsonRpc.RpcMarshalable]
public interface IRemoteProxiedUserControlClient : IDisposable
[<StreamJsonRpc.RpcMarshalable>]
type IRemoteProxiedUserControlClient = interface
    interface IDisposable
Public Interface IRemoteProxiedUserControlClient
Implements IDisposable
Attributes
StreamJsonRpc.RpcMarshalableAttribute
Implements

Methods

ObjectValueNotificationAsync(MessagePackFragment, CancellationToken)

Notifies the client of the current value of a uniquely identifiable object. This method is called when the client queries for an object value using GetObjectAsync(ObjectId, CancellationToken).

RemoteCollectionChangedAsync(ObjectId, Nullable<ObjectVersion>, RemoteCollectionChanges, CancellationToken)

This method is called when an object implementing INotifyCollectionChanged is updated after it was first sent to the client.

RemotePropertyChangedAsync(ObjectId, String, MessagePackFragment, CancellationToken)

This method is called when a property is updated on an object implementing INotifyPropertyChanged after it was first sent to Visual Studio.

SetDataContextAsync(MessagePackFragment, CancellationToken)

Notifies the client of the value of the datacontext. This method is called when client requests the control definition by invoking a method like InitializeAsync(IRemoteProxiedUserControlClient, CancellationToken).

Applies to