Compartilhar via


AsyncObservableObject.NotifyPropertyChangedAsync Método

Definição

Notifica uma alteração em uma propriedade neste objeto. O PropertyChanged evento é gerado no thread main.

protected System.Threading.Tasks.Task NotifyPropertyChangedAsync (System.Threading.CancellationToken cancellationToken = default, string propertyName = "");
member this.NotifyPropertyChangedAsync : System.Threading.CancellationToken * string -> System.Threading.Tasks.Task
Protected Function NotifyPropertyChangedAsync (Optional cancellationToken As CancellationToken = Nothing, Optional propertyName As String = "") As Task

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento.

propertyName
String

O nome da propriedade que foi modificada.

Retornos

Uma tarefa que será concluída depois que o PropertyChanged evento for acionado.

Aplica-se a