为此类别创建一个新的 ExceptionSetting 对象。
命名空间:  EnvDTE90
程序集:  EnvDTE90(在 EnvDTE90.dll 中)
语法
声明
Function NewException ( _
    Name As String, _
    Code As UInteger _
) As ExceptionSetting
ExceptionSetting NewException(
    string Name,
    uint Code
)
ExceptionSetting^ NewException(
    [InAttribute] String^ Name, 
    [InAttribute] unsigned int Code
)
abstract NewException : 
        Name:string * 
        Code:uint32 -> ExceptionSetting 
function NewException(
    Name : String, 
    Code : uint
) : ExceptionSetting
参数
- Name
 类型:System.String
 要创建的新 ExceptionSetting 对象的名称。
- Code
 类型:System.UInt32
 要创建的 ExceptionSetting 对象的代码。
返回值
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。