ReflectedInvocationException CLASS

An exception to throw when a reflection-based invocation faulted due to an exception.

A class member, such as Constructor, can be invoked programmatically. If the execution fails, the original exception will be propagated and caught by script engine, which then wraps it inside an instance of this exception.

Parent Class

All Members


TypeNameSignature
constructorReflectedInvocationExceptionpublic ReflectedInvocationException(string)

Constructors


public ReflectedInvocationException(string message)

Create a standard ReflectedInvocationException instance. While entirely legal, it's not recommended for a user to create such instances.

Parameters

  • message The error message.