CodeGenerator.GenerateThrowExceptionStatement 方法

定義

產生指定的拋出例外語句程式碼。

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

要產生程式碼的語句。

適用於

另請參閱