AsyncObservableObject.NotifyPropertyChangedAsync 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.
Notifies of a change to a property on this object. The PropertyChanged event is raised on the main thread.
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
Parameters
- cancellationToken
- CancellationToken
The cancellation token.
- propertyName
- String
The name of the property that changed.
Returns
A task that will complete once the PropertyChanged event has been raised.