ICommandChannelAsync.DoAsync(String, Object, CancellationToken) Method
In This Article
Asynchronously accepts and executes a specified command with arguments.
Namespace: DevExpress.Xpo.Helpers
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
Task<object> DoAsync(
string command,
object args,
CancellationToken cancellationToken = default(CancellationToken)
)
#Parameters
Name | Type | Description |
---|---|---|
command | String | A command to be accepted and executed. |
args | Object | Arguments the command accepts. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
cancellation |
Cancellation |
null | A Cancellation |
#Returns
Type | Description |
---|---|
Task<Object> | A Task that returns an object. This object is the operation result. |
See Also