共用方式為


AsyncRelayCommand 建構函式 (Func<Task>, Boolean)

命名空間:  Microsoft.TeamFoundation.MVVM
組件:  Microsoft.TeamFoundation.Controls (在 Microsoft.TeamFoundation.Controls.dll 中)

語法

'宣告
Public Sub New ( _
    execute As Func(Of Task), _
    ignoreCancellation As Boolean _
)
public AsyncRelayCommand(
    Func<Task> execute,
    bool ignoreCancellation
)

參數

.NET Framework 安全性

請參閱

參考

AsyncRelayCommand 類別

AsyncRelayCommand 多載

Microsoft.TeamFoundation.MVVM 命名空間