IVsDebugger2.ConfirmStopDebugging(String) 方法

定义

显示一个对话框和消息,以确认用户要停止调试。

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

参数

pszMessage
String

中包含要在对话框中显示的消息的字符串。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell80:

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

适用于