Click or drag to resize
Ranorex

ControlInvokeRemotely Method (RemotelyInvokedDelegate, Object, Duration)

Invokes the delegate remotely at the control. All parameters and the return value need to be serializable.

Namespace:  Ranorex
Assembly:  Ranorex.Plugin.WinForms (in Ranorex.Plugin.WinForms.dll) Version: 12.7.4-git.38314c06
Syntax
public virtual Object InvokeRemotely(
	RemotelyInvokedDelegate deleg,
	Object inputData,
	Duration timeout
)

Parameters

deleg
Type: RanorexRemotelyInvokedDelegate
The delegate to invoke at the remote control.
inputData
Type: SystemObject
The (serializable) input data passed to the delegate at the remote control.
timeout
Type: RanorexDuration
The timeout for this action. The action will return after the timeout even if the delegate has not yet finished executing.

Return Value

Type: Object
The (serializable) return value of the remotely invoked delegate.
Exceptions
ExceptionCondition
ActionFailedExceptionThrown if invoking the action failed.
See Also