IVsDebuggerEvents.OnModeChange(DBGMODE) Method

Definition

Specifies the function called when the debugging mode changes.

public:
 int OnModeChange(Microsoft::VisualStudio::Shell::Interop::DBGMODE dbgmodeNew);
public:
 int OnModeChange(Microsoft::VisualStudio::Shell::Interop::DBGMODE dbgmodeNew);
int OnModeChange(Microsoft::VisualStudio::Shell::Interop::DBGMODE dbgmodeNew);
public int OnModeChange (Microsoft.VisualStudio.Shell.Interop.DBGMODE dbgmodeNew);
abstract member OnModeChange : Microsoft.VisualStudio.Shell.Interop.DBGMODE -> int
Public Function OnModeChange (dbgmodeNew As DBGMODE) As Integer

Parameters

dbgmodeNew
DBGMODE

[in] A value from the DBGMODE enumeration indicating the new debugger mode.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsDebuggerEvents::OnModeChange(  
   [in] DBGMODE dbgmodeNew  
);  

Applies to