IVsDebugger2.ConfirmStopDebugging(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
显示一个对话框和消息,以确认用户要停止调试。
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
中包含要在对话框中显示的消息的字符串。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell80:
HRESULT IVsDebugger2::ConfirmStopDebugging(
[in] LPCOLESTR pszMessage
);