Utils.ThrowException(Int32) 方法

定义

引发一个本地化的 Visual Basic 异常。Throws a localized Visual Basic exception.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 static void ThrowException(int hr);
public static void ThrowException (int hr);
static member ThrowException : int -> unit
Public Sub ThrowException (hr As Integer)
Public Shared Sub ThrowException (hr As Integer)

参数

hr
Int32

Visual Basic 错误标识符。The Visual Basic error identifier.

注解

此类支持 Visual Basic 编译器,不应在代码中直接使用。This class supports the Visual Basic compiler and is not intended to be used directly from your code.

适用于