Click or drag to resize
QlikConnectionAwaitResponse Method (Task, String, CancellationToken)
Await the arrival of a response for a method call to the engine.

Namespace: Qlik.Engine.Communication
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax
public static void AwaitResponse(
	Task task,
	string methodName,
	CancellationToken cancellationToken
)

Parameters

task
Type: System.Threading.TasksTask
The task returned by a call to SendAsync.
methodName
Type: SystemString
The name of the method that the task corresponds to.
cancellationToken
Type: System.ThreadingCancellationToken
The token used to synchronize shutdown events.
Exceptions
ExceptionCondition
TimeoutExceptionThrows a timeout exception if a response has not been received within the current timeout.
See Also