IRemoteProxiedUserControlClient.RemoteCollectionChangedAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method is called when an object implementing INotifyCollectionChanged is updated after it was first sent to the client.
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);
abstract member RemoteCollectionChangedAsync : Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId * Nullable<Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectVersion> * Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteCollectionChanges * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RemoteCollectionChangedAsync (id As ObjectId, version As Nullable(Of ObjectVersion), changes As RemoteCollectionChanges, cancellationToken As CancellationToken) As Task
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.