Click or drag to resize

V8FastHostFunction.VerifyFunctionCall Method

Verifies that a fast host function was invoked as a function and not as a constructor.

Namespace: Microsoft.ClearScript.V8.FastProxy
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
public static void VerifyFunctionCall(
	bool asConstructor
)

Parameters

asConstructor  Boolean
True if the function was invoked as a constructor, false otherwise.
Remarks
This is a simple utility method that checks asConstructor and throws an exception if it is true. It is intended for use within fast host function invocation callbacks.
See Also