CascadingValueSource<TValue>.NotifyChangedAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
NotifyChangedAsync() |
通知訂閱者值已變更 (,例如,如果值已) 變動。 |
NotifyChangedAsync(TValue) |
通知訂閱者值已變更,並提供新的值。 |
NotifyChangedAsync()
通知訂閱者值已變更 (,例如,如果值已) 變動。
public System.Threading.Tasks.Task NotifyChangedAsync();
member this.NotifyChangedAsync : unit -> System.Threading.Tasks.Task
Public Function NotifyChangedAsync () As Task
傳回
, Task 會在發出通知時完成。
適用於
NotifyChangedAsync(TValue)
通知訂閱者值已變更,並提供新的值。
public System.Threading.Tasks.Task NotifyChangedAsync(TValue newValue);
member this.NotifyChangedAsync : 'Value -> System.Threading.Tasks.Task
Public Function NotifyChangedAsync (newValue As TValue) As Task
參數
- newValue
- TValue
傳回
, Task 會在發出通知時完成。