ErrorObject.Explicit(ErrorObject to Exception) 运算符

定义

ErrorObject 显式转换为 Exception

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

参数

err
ErrorObject

要转换的对象。

返回

Exception

转换后的 ErrorObject

适用于

另请参阅