IVCWizCtlUI.ReportError(String, Boolean) 方法

定义

向用户显示错误,并向用户提供选项,以纠正错误并继续使用向导。

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

属性

适用于