Udostępnij za pośrednictwem


IRemoteProxiedUserControlClient.RemotePropertyChangedAsync Metoda

Definicja

Ta metoda jest wywoływana, gdy właściwość jest aktualizowana podczas implementowania INotifyPropertyChanged obiektu po pierwszym wysłaniu do programu Visual Studio.

public System.Threading.Tasks.Task RemotePropertyChangedAsync(Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId id, string propertyName, Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment newValue, System.Threading.CancellationToken cancellationToken);
abstract member RemotePropertyChangedAsync : Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId * string * Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RemotePropertyChangedAsync (id As ObjectId, propertyName As String, newValue As MessagePackFragment, cancellationToken As CancellationToken) As Task

Parametry

id
ObjectId

Identyfikator unikatowo rozpoznawalnego obiektu, który jest właścicielem zaktualizowanej właściwości.

propertyName
String

Nazwa aktualizowanej właściwości.

newValue
MessagePackFragment

Wartość właściwości po aktualizacji.

cancellationToken
CancellationToken

Token anulowania dla wywołania asynchronicznego.

Zwraca

Śledzenie Task ukończenia operacji asynchronicznych.

Dotyczy