Execute(T)
Executes the command asynchronously with the specified parameter and returns a DelegateCommandExecution that can be used to track and cancel the execution.
Declaration
public DelegateCommandExecution Execute(T parameter)Parameters
| Type | Name | Description |
|---|---|---|
| T | parameter | The command parameter. |
Returns
| Type | Description |
|---|---|
| DelegateCommandExecution | A DelegateCommandExecution representing the execution. |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Thrown when the command cannot be executed. |