This documentation is archived and is not being maintained.

IVsDebugger2.ConfirmStopDebugging Method

Displays a dialog and message to confirm the user wants to stop debugging.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in

int ConfirmStopDebugging (
	[InAttribute] string pszMessage
int ConfirmStopDebugging (
	/** @attribute InAttribute() */ String pszMessage
function ConfirmStopDebugging (
	pszMessage : String
) : int



[in] String containing the message to display in the dialog.

Return Value

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

COM Signature

From vsshell80.idl:

HRESULT IVsDebugger2::ConfirmStopDebugging(
   [in] LPCOLESTR pszMessage