Click or drag to resize

ModuleCall Method

Calls a Module's public sub (or function).

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public void Call(
	string name,
	params Object?[]? args
)

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