Reader.StartExecution Method

TegoOS

ReaderStartExecution Method
Asynchronously 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 void StartExecution(
	ISelection selection,
	IList<Operation> operations,
	ExecutionSettings settings,
	int population,
	Action<TagResponse> callback = null
)
Public Sub StartExecution ( 
	selection As ISelection,
	operations As IList(Of Operation),
	settings As ExecutionSettings,
	population As Integer,
	Optional callback As Action(Of TagResponse) = Nothing
)
public:
void StartExecution(
	ISelection^ selection, 
	IList<Operation^>^ operations, 
	ExecutionSettings^ settings, 
	int population, 
	Action<TagResponse^>^ callback = nullptr
)
member StartExecution : 
        selection : ISelection * 
        operations : IList<Operation> * 
        settings : ExecutionSettings * 
        population : int * 
        ?callback : Action<TagResponse> 
(* Defaults:
        let _callback = defaultArg callback null
*)
-> unit 

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.
callback (Optional)
Type: SystemActionTagResponse
Optional callback to handle tag responses as they are received.
Remarks
The callback provides a thread safe mechanism for handling tag responses in contrast to the TagReponse event whose handlers are not necessarily attached or detached by the application in a thread safe manner. Execute, ExecuteAsync and StartExecution methods are thread safe.
See Also