CodeGenerator.GenerateThrowExceptionStatement 方法

定義

為指定的擲回例外狀況 (Exception) 陳述式產生程式碼。

protected:
 abstract void GenerateThrowExceptionStatement(System::CodeDom::CodeThrowExceptionStatement ^ e);
protected abstract void GenerateThrowExceptionStatement (System.CodeDom.CodeThrowExceptionStatement e);
abstract member GenerateThrowExceptionStatement : System.CodeDom.CodeThrowExceptionStatement -> unit
Protected MustOverride Sub GenerateThrowExceptionStatement (e As CodeThrowExceptionStatement)

參數

e
CodeThrowExceptionStatement

要產生程式碼的陳述式。

適用於

另請參閱