Calls a
Module's public sub (or function).
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic void Call(
string name,
params Object?[]? args
)
Public Sub Call (
name As String,
ParamArray args As Object()
)
public:
virtual void Call(
String^ name,
... array<Object^>^ args
) sealed
Parameters
- name String
-
Call the 'name' sub or function.
- args Object
-
These argument values are passed by value to the sub (or function).
Use CallPA to pass values by reference.
Named arguments are allowed.
Implements
IModuleCall(String, Object)
Remarks
This method doesn't return until the sub (or function) has completed.
If it fails to complete it is terminated and an exception is thrown.
Use
Error.FromException to get the error associated with the exception.
See Also