AsyncRelayCommand<T>.ExecuteAsync 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.
Overloads
ExecuteAsync(Object) |
Provides a more specific version of Execute(Object), also returning the Task representing the async operation being executed. |
ExecuteAsync(T) |
ExecuteAsync(Object)
Provides a more specific version of Execute(Object), also returning the Task representing the async operation being executed.
public System.Threading.Tasks.Task ExecuteAsync (object? parameter);
abstract member ExecuteAsync : obj -> System.Threading.Tasks.Task
override this.ExecuteAsync : obj -> System.Threading.Tasks.Task
Public Function ExecuteAsync (parameter As Object) As Task
Parameters
- parameter
- Object
The input parameter.
Returns
The Task representing the async operation being executed.
Implements
Applies to
ExecuteAsync(T)
public System.Threading.Tasks.Task ExecuteAsync (T? parameter);
abstract member ExecuteAsync : 'T -> System.Threading.Tasks.Task
override this.ExecuteAsync : 'T -> System.Threading.Tasks.Task
Public Function ExecuteAsync (parameter As T) As Task
Parameters
- parameter
- T