Click or drag to resize

IScriptEngineUseReflectionBindFallback Property

Enables or disables the use of reflection-based method binding as a fallback.

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax
bool UseReflectionBindFallback { get; set; }

Property Value

Boolean
Remarks

When this property is set to true, the script engine attempts to use reflection-based method binding when the default method binding algorithm fails. This approach reduces type safety, but it may be useful for running legacy scripts that rely on the specific behavior of reflection-based method binding.

This property has no effect when DisableDynamicBinding is set to true.

See Also