Click or drag to resize
Ranorex

WinformsCoreControlInvokeRemotely Method (String, String, String, 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.Core (in Ranorex.Plugin.WinForms.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public virtual Object InvokeRemotely(
	string assemblyPath,
	string fullTypeName,
	string methodName,
	Object inputData,
	Duration timeout
)

Parameters

assemblyPath
Type: SystemString
The full path to the assembly which contains the remote method to be called at the remote control.
fullTypeName
Type: SystemString
The full name of the type which contains the remote method to be called at the remote control.
methodName
Type: SystemString
The name of the method which should be called at the remote control.
inputData
Type: SystemObject
The (serializable) input data passed to the remote method 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