ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8.FastProxy
V8FastHostMethod<TObject> Class
V8FastHostMethod<TObject> Constructor
V8FastHostMethod<TObject>(TObject, String, V8FastHostMethodInvoker<TObject>) Constructor
V8FastHostMethod<TObject>(TObject, String, V8FastHostObjectConfigurator<V8FastHostMethod<TObject>>, V8FastHostMethodInvoker<TObject>) Constructor
V8FastHostMethod<TObject>(TObject, String, Int32, V8FastHostMethodInvoker<TObject>) Constructor
V8FastHostMethod<TObject>(TObject, String, Int32, V8FastHostObjectConfigurator<V8FastHostMethod<TObject>>, V8FastHostMethodInvoker<TObject>) Constructor

# V8FastHostMethod TObject(TObject, String, Int32, V8FastHostMethodInvoker TObject) Constructor

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

    public V8FastHostMethod(
    	TObject parent,
    	string name,
    	int requiredArgCount,
    	V8FastHostMethodInvoker<TObject> invoker
    )

    Public Sub New (
    	parent As TObject,
    	name As String,
    	requiredArgCount As Integer,
    	invoker As V8FastHostMethodInvoker(Of TObject)
    )

    public:
    V8FastHostMethod(
    	TObject parent,
    	String^ name,
    	int requiredArgCount,
    	V8FastHostMethodInvoker<TObject>^ invoker
    )

    new :
            parent : 'TObject *
            name : string *
            requiredArgCount : int *
            invoker : V8FastHostMethodInvoker<'TObject> -> V8FastHostMethod

#### Parameters

parent TObject
  The object whose method the instance represents.
name String
  The method name.
requiredArgCount Int32
  The required argument count for the method.
invoker V8FastHostMethodInvoker TObject
  The method invocation callback.

See Also

#### Reference

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

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft