Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Displays an error to the user and gives the user the option to correct the error and continue using the wizard.
Namespace: Microsoft.VisualStudio.VsWizard
Assembly: Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
'Declaration
Public Overridable Sub ReportError ( _
bstrErrorMsg As String, _
bConcatExisting As Boolean _
)
public virtual void ReportError(
string bstrErrorMsg,
bool bConcatExisting
)
public:
virtual void ReportError(
[InAttribute] String^ bstrErrorMsg,
[InAttribute] bool bConcatExisting
)
abstract ReportError :
bstrErrorMsg:string *
bConcatExisting:bool -> unit
override ReportError :
bstrErrorMsg:string *
bConcatExisting:bool -> unit
public function ReportError(
bstrErrorMsg : String,
bConcatExisting : boolean
)
Parameters
- bstrErrorMsg
Type: System.String
Optional. A string containing the error message to display.
- bConcatExisting
Type: System.Boolean
Optional. True to concatenate the error message with an existing message created by SetErrorInfo; otherwise false.
Implements
IVCWizCtlUI.ReportError(String, Boolean)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.