IDebugControl::SetExceptionFilterSecondCommand method (dbgeng.h)
The SetExceptionFilterSecondCommand method sets the command that will be executed by the debugger engine on the second chance of a specified exception.
Syntax
HRESULT SetExceptionFilterSecondCommand(
[in] ULONG Index,
[in] PCSTR Command
);
Parameters
[in] Index
Specifies the index of the exception filter whose second-chance command will be set. Index must not refer to the specific event filters as these are not exception filters and only exception events get a second chance. If Index refers to the default exception filter, the second-chance command is set for all exceptions that do not have an exception filter.
[in] Command
Receives the second-chance command for the exception filter.
Return value
This method may also return error values. See Return Values for more details.
Return code | Description |
---|---|
|
The method was successful. |
Remarks
For more information about event filters, see Event Filters.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |