IDebugBinder3:: GetExceptionObjectAndType

此方法检索异常与对象,因此,如果有的话)。

HRESULT GetExceptionObjectAndType(
   IDebugObject** ppException,
   IDebugField**  ppField
);
int GetExceptionObjectAndType(
   out IDebugObject ppException,
   out IDebugField  ppField
);

参数

  • ppException
    [out] 返回表示异常的对象。

  • ppField
    [out] 返回表示可能会导致异常的特定字段的对象 (这可能是一个空值)。

返回值

如果成功,则返回; S_OK否则,返回错误代码。

备注

若要验证是否有异常,请检查 ppException返回的值:如果它是一个空值,则异常没有与此对象。

请参见

参考

IDebugBinder3