ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8.FastProxy
V8FastHostFunction Class
V8FastHostFunction Constructor
V8FastHostFunction(V8FastHostFunctionInvoker) Constructor
V8FastHostFunction(Int32, V8FastHostFunctionInvoker) Constructor
V8FastHostFunction(String, V8FastHostFunctionInvoker) Constructor
V8FastHostFunction(V8FastHostObjectConfigurator<V8FastHostFunction>, V8FastHostFunctionInvoker) Constructor
V8FastHostFunction(Int32, V8FastHostObjectConfigurator<V8FastHostFunction>, V8FastHostFunctionInvoker) Constructor
V8FastHostFunction(String, V8FastHostObjectConfigurator<V8FastHostFunction>, V8FastHostFunctionInvoker) Constructor
V8FastHostFunction(String, Int32, V8FastHostFunctionInvoker) Constructor
V8FastHostFunction(String, Int32, V8FastHostObjectConfigurator<V8FastHostFunction>, V8FastHostFunctionInvoker) Constructor

# V8FastHostFunction(Int32, V8FastHostObjectConfiguratorV8FastHostFunction, V8FastHostFunctionInvoker) Constructor

Initializes a new V8FastHostFunction instance with the specified required argument count and configuration callback.
Namespace: Microsoft.ClearScript.V8.FastProxy
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public V8FastHostFunction(
    	int requiredArgCount,
    	V8FastHostObjectConfigurator<V8FastHostFunction> configurator,
    	V8FastHostFunctionInvoker invoker
    )

    Public Sub New (
    	requiredArgCount As Integer,
    	configurator As V8FastHostObjectConfigurator(Of V8FastHostFunction),
    	invoker As V8FastHostFunctionInvoker
    )

    public:
    V8FastHostFunction(
    	int requiredArgCount,
    	V8FastHostObjectConfigurator<V8FastHostFunction^>^ configurator,
    	V8FastHostFunctionInvoker^ invoker
    )

    new :
            requiredArgCount : int *
            configurator : V8FastHostObjectConfigurator<V8FastHostFunction> *
            invoker : V8FastHostFunctionInvoker -> V8FastHostFunction

#### Parameters

requiredArgCount Int32
  The required argument count for the function.
configurator V8FastHostObjectConfigurator V8FastHostFunction
  A callback for preparing the configuration associated with the instance.
invoker V8FastHostFunctionInvoker
  The function invocation callback.

See Also

#### Reference

V8FastHostFunction Class
V8FastHostFunction Overload
Microsoft.ClearScript.V8.FastProxy Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft