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