 | 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
Syntaxpublic virtual Object InvokeRemotely(
RemotelyInvokedDelegate deleg,
Object inputData,
Duration timeout
)
Public Overridable Function InvokeRemotely (
deleg As RemotelyInvokedDelegate,
inputData As Object,
timeout As Duration
) As Object
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:
ObjectThe (serializable) return value of the remotely invoked delegate.
Exceptions
See Also