次の方法で共有


IVCWizCtlUI.ReportError(String, Boolean) Method

Definition

Displays an error to the user and gives the user the option to correct the error and continue using the wizard.

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)

Parameters

bstrErrorMsg
String

Optional. A string containing the error message to display.

bConcatExisting
Boolean

Optional. True to concatenate the error message with an existing message created by SetErrorInfo(String, UInt32, UInt32, String, String); otherwise false.

Attributes

Applies to