共用方式為


IDebugPendingBreakpoint2::GetBreakpointRequest

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Gets the breakpoint request that was used to create this pending breakpoint.

Syntax

HRESULT GetBreakpointRequest( 
   IDebugBreakpointRequest2** ppBPRequest
);
int GetBreakpointRequest( 
   out IDebugBreakpointRequest2 ppBPRequest
);

Parameters

ppBPRequest
[out] Returns an IDebugBreakpointRequest2 object representing the breakpoint request that was used to create this pending breakpoint.

Return Value

If successful, returns S_OK; otherwise, returns an error code. Returns E_BP_DELETED if the breakpoint has been deleted.

See also