A Sandcastle Documented Class Library
ReaderExecuteAsync Method |
Awaitable version of Execute method which executes a list of operations on selected tags.
Namespace: Tego.Rfid.Gen2
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)
Syntax
public Task<IList<TagResponse>> ExecuteAsync( ISelection selection, IList<Operation> operations, ExecutionSettings settings, int population )
Public Function ExecuteAsync ( selection As ISelection, operations As IList(Of Operation), settings As ExecutionSettings, population As Integer ) As Task(Of IList(Of TagResponse))
public: Task<IList<TagResponse^>^>^ ExecuteAsync( ISelection^ selection, IList<Operation^>^ operations, ExecutionSettings^ settings, int population )
member ExecuteAsync : selection : ISelection * operations : IList<Operation> * settings : ExecutionSettings * population : int -> Task<IList<TagResponse>>
Parameters
- selection
- Type: Tego.Rfid.Gen2ISelection
Selection criteria for tags. - operations
- Type: System.Collections.GenericIListOperation
Operations to execute. - settings
- Type: Tego.Rfid.Gen2ExecutionSettings
Execution settings including e.g. session, triggers, etc. - population
- Type: SystemInt32
Expected number of tags being targeted.
Return Value
Type: TaskIListTagResponseTask whose result is a list of TagResponse objects for tags, containing an OperationResponse for successful operations (and first error).
Remarks
Although this is an async method, the reader executes in synchronous mode. User StartExecution for true asynchronous operation.
Execute, ExecuteAsync and StartExecution methods are thread safe.
See Also