Skip to main content

ICommandChannelAsync.DoAsync(String, Object, CancellationToken) Method

Asynchronously accepts and executes a specified command with arguments.

Namespace: DevExpress.Xpo.Helpers

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


Task<object> DoAsync(
    string command,
    object args,
    CancellationToken cancellationToken = default(CancellationToken)


Name Type Description
command String

A command to be accepted and executed.

args Object

Arguments the command accepts.

Optional Parameters

Name Type Default Description
cancellationToken CancellationToken null

A CancellationToken object that delivers a cancellation notice to the running operation.


Type Description

A Task that returns an object. This object is the operation result.

See Also