IVsDebuggerEvents.OnModeChange(DBGMODE) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
);