共用方式為


_dispDebuggerEvents_OnExceptionThrownEventHandler 委派

這個應用程式開發介面支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

僅限 Microsoft 內部使用。

命名空間:  EnvDTE
組件:  EnvDTE (在 EnvDTE.dll 中)

語法

'宣告
<ComVisibleAttribute(False)> _
Public Delegate Sub _dispDebuggerEvents_OnExceptionThrownEventHandler ( _
    ExceptionType As String, _
    Name As String, _
    Code As Integer, _
    Description As String, _
    <OutAttribute> ByRef ExceptionAction As dbgExceptionAction _
)
[ComVisibleAttribute(false)]
public delegate void _dispDebuggerEvents_OnExceptionThrownEventHandler(
    string ExceptionType,
    string Name,
    int Code,
    string Description,
    out dbgExceptionAction ExceptionAction
)
[ComVisibleAttribute(false)]
public delegate void _dispDebuggerEvents_OnExceptionThrownEventHandler(
    [InAttribute] String^ ExceptionType, 
    [InAttribute] String^ Name, 
    [InAttribute] int Code, 
    [InAttribute] String^ Description, 
    [InAttribute] [OutAttribute] dbgExceptionAction% ExceptionAction
)
[<ComVisibleAttribute(false)>]
type _dispDebuggerEvents_OnExceptionThrownEventHandler = 
    delegate of  
        ExceptionType:string * 
        Name:string * 
        Code:int * 
        Description:string * 
        ExceptionAction:dbgExceptionAction byref -> unit
JScript 不支援委派。

參數

  • ExceptionType
    類型:String

    例外狀況型別。

  • Name
    類型:String

    例外狀況的名稱。

  • Code
    類型:Int32

    程式碼。

  • Description
    類型:String

    描述。

請參閱

參考

EnvDTE 命名空間