IRemoteProxiedUserControlClient.RemoteCollectionChangedAsync Method

Definition

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

C#
public System.Threading.Tasks.Task RemoteCollectionChangedAsync(Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId id, Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectVersion? version, Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteCollectionChanges changes, System.Threading.CancellationToken cancellationToken);

Parameters

id
ObjectId

Identifier of the uniquely identifiable object that was updated.

version
Nullable<ObjectVersion>

Current version of the object.

changes
RemoteCollectionChanges

Description of the changes to the collection.

cancellationToken
CancellationToken

Cancellation token for the async call.

Returns

A Task tracking the completion of the async operation.

Applies to

Proizvod Verzije
Visual Studio SDK 2022