共用方式為


IDebugPendingBreakpoint2::GetState

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 state of the pending breakpoint.

Syntax

HRESULT GetState( 
   PENDING_BP_STATE_INFO* pState
);
int GetState( 
   PENDING_BP_STATE_INFO[] pState
);

Parameters

pState
[in, out] A PENDING_BP_STATE_INFO structure that is filled in with a description of this pending breakpoint.

Return Value

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

See also