Enum AsyncRelayCommandOptions
Options to customize the behavior of AsyncRelayCommand and AsyncRelayCommand<T> instances.
Namespace: ISynergy.Framework.Mvvm.Enumerations
Assembly: ISynergy.Framework.Mvvm.dll
Syntax
public enum AsyncRelayCommandOptions : int
Fields
Name | Description |
---|---|
AllowConcurrentExecutions | Concurrent executions are allowed. This option makes it so that the same _command can be invoked concurrently multiple times. Note that additional considerations should be taken into account in this case:
|
FlowExceptionsToTaskScheduler | Exceptions are not thrown on the calling context, and are propagated to
This affects how calls to Execute(Nullable<Object>) behave. When this option is used, if an operation fails, that exception will not
be rethrown on the calling context (as it is not awaited there). Instead, it will flow to This option enables more advanced scenarios, where the ExecutionTask property can be used to inspect the state of an operation that was queued. That is, even if the operation failed or was canceled, the details of that can be retrieved at a later time by accessing this property. |
None | No option is specified. The AsyncRelayCommand and AsyncRelayCommand<T> types will use their default behavior:
|