Compartilhar via


IDebugExceptionEvent2::GetException

Gets a detailed description of the exception that fired this event.

HRESULT GetException( 
   EXCEPTION_INFO* pExceptionInfo
);
int GetException( 
   EXCEPTION_INFO[] pExceptionInfo
);

Parameters

  • pExceptionInfo
    [in, out] An EXCEPTION_INFO structure that is filled in with the description of the exception.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

[C++ only] The caller is responsible for freeing any strings in the EXCEPTION_INFO structure as well as releasing the IDebugProgram2 object in the structure.

See Also

Reference

IDebugExceptionEvent2

EXCEPTION_INFO

IDebugEvent2

IDebugProgram2