IVCWizCtlUI.ReportError(String, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
向用户显示错误,并向用户提供选项,以纠正错误并继续使用向导。
void ReportError(std::wstring const & bstrErrorMsg = "", bool bConcatExisting = false);
[System.Runtime.InteropServices.DispId(1610743840)]
public void ReportError (string bstrErrorMsg = "", bool bConcatExisting = false);
[<System.Runtime.InteropServices.DispId(1610743840)>]
abstract member ReportError : string * bool -> unit
Public Sub ReportError (Optional bstrErrorMsg As String = "", Optional bConcatExisting As Boolean = false)
参数
- bstrErrorMsg
- String
可选。 包含要显示的错误消息的字符串。
- bConcatExisting
- Boolean
可选。 如果要将错误消息与 SetErrorInfo(String, UInt32, UInt32, String, String) 创建的现有消息连接,则为 True;否则为 false。
- 属性