共用方式為


IVsDebugger2.ConfirmStopDebugging(String) Method

Definition

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

public:
 int ConfirmStopDebugging(System::String ^ pszMessage);
public:
 int ConfirmStopDebugging(Platform::String ^ pszMessage);
int ConfirmStopDebugging(std::wstring const & pszMessage);
public int ConfirmStopDebugging (string pszMessage);
abstract member ConfirmStopDebugging : string -> int
Public Function ConfirmStopDebugging (pszMessage As String) As Integer

Parameters

pszMessage
String

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

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsDebugger2::ConfirmStopDebugging(  
   [in] LPCOLESTR pszMessage  
);  

Applies to