Utils.ThrowException(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會拋出一個本地化的 Visual Basic 例外。
此 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 錯誤識別碼。
備註
這門課支援 Visual Basic 編譯器,並非直接從你的程式碼中使用。