V8FastHostFunction(String, Int32, V8FastHostFunctionInvoker) Constructor |
Initializes a new
V8FastHostFunction instance with the specified name and required argument count.
Namespace: Microsoft.ClearScript.V8.FastProxyAssembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntaxpublic V8FastHostFunction(
string name,
int requiredArgCount,
V8FastHostFunctionInvoker invoker
)
Public Sub New (
name As String,
requiredArgCount As Integer,
invoker As V8FastHostFunctionInvoker
)
public:
V8FastHostFunction(
String^ name,
int requiredArgCount,
V8FastHostFunctionInvoker^ invoker
)
new :
name : string *
requiredArgCount : int *
invoker : V8FastHostFunctionInvoker -> V8FastHostFunction
Parameters
- name String
- The function name.
- requiredArgCount Int32
- The required argument count for the function.
- invoker V8FastHostFunctionInvoker
- The function invocation callback.
See Also