ErrorObject.Explicit(ErrorObject to Exception) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts an ErrorObject to an Exception, explicitly.
public:
static explicit operator Exception ^(Microsoft::JScript::ErrorObject ^ err);
public static explicit operator Exception (Microsoft.JScript.ErrorObject err);
static member op_Explicit : Microsoft.JScript.ErrorObject -> Exception
Public Shared Narrowing Operator CType (err As ErrorObject) As Exception
Parameters
- err
- ErrorObject
The object to convert.
Returns
The converted ErrorObject.