ExceptionSettings.NewException Method
Creates a new ExceptionSetting object for this category.
Namespace: EnvDTE90
Assembly: EnvDTE90 (in EnvDTE90.dll)
Syntax
'Declaration
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
Parameters
Name
Type: System.StringThe name for the new ExceptionSetting object to create.
Code
Type: System.UInt32The code of the ExceptionSetting object to create.
Return Value
Type: EnvDTE90.ExceptionSetting
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.