다음을 통해 공유


VCWizCtlClass.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.

 virtual void ReportError(std::wstring const & bstrErrorMsg = "", bool bConcatExisting = false);
[System.Runtime.InteropServices.DispId(1610743840)]
public virtual void ReportError (string bstrErrorMsg = "", bool bConcatExisting = false);
[<System.Runtime.InteropServices.DispId(1610743840)>]
abstract member ReportError : string * bool -> unit
override this.ReportError : string * bool -> unit
Public Overridable 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.

Implements

Attributes

Applies to