IJsFunction Methods |
The IJsFunction type exposes the following members.
Name | Description | |
---|---|---|
Invoke(IJsObject, Object) |
Executes the function on the given jsObject with the args.
This method blocks current thread execution until the function finishes
its execution. If the function raises an exception, then JsException with an error
message that describes the reason of the exception will be thrown. Same error message will be
printed in JavaScript Console.
| |
InvokeT(String, Object) |
Executes the function with the given methodName and the args in the
JavaScript object. This method blocks current thread execution until the function finishes
its execution. If the function raises an exception, then a JsException with an error
message that describes the reason of the exception will be thrown. Same error message will be
printed in JavaScript Console.
(Inherited from IJsObject.) | |
InvokeT(IJsObject, Object) |
Executes the function on the given jsObject with the args.
This method blocks current thread execution until the function finishes
its execution. If the function raises an exception, then a JsException with an error
message that describes the reason of the exception will be thrown. Same error message will be
printed in JavaScript Console.
| |
InvokeAsync(String, Object) |
Asynchronously executes the function with the given methodName and the args
in the JavaScript object without blocking the current thread.
(Inherited from IJsObject.) | |
InvokeAsync(IJsObject, Object) |
Asynchronously executes the function on the given jsObject with the args
without blocking the current thread.
| |
InvokeAsyncT(IJsObject, Object) |
Asynchronously executes the function on the given jsObject with the args
without blocking the current thread.
|
Name | Description | |
---|---|---|
ToJsonString |
Converts the given JavaScript object into a JSON string.
(Defined by JsonExtensions.) |