次の方法で共有


IRemoteProxiedUserControlClient.RemoteCollectionChangedAsync メソッド

定義

このメソッドは、 を実装 INotifyCollectionChanged するオブジェクトがクライアントに最初に送信された後に更新されるときに呼び出されます。

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

パラメーター

id
ObjectId

更新された一意に識別可能なオブジェクトの識別子。

version
Nullable<ObjectVersion>

オブジェクトの現在のバージョン。

changes
RemoteCollectionChanges

コレクションに対する変更の説明。

cancellationToken
CancellationToken

非同期呼び出しのキャンセル トークン。

戻り値

Task非同期操作の完了を追跡する 。

適用対象