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

为其生成代码的语句。

适用于

另请参阅