Condividi tramite


VCWizCtlClass.SetErrorInfo(String, UInt32, UInt32, String, String) Method

Definition

Sets error text for the specified item.

 virtual void SetErrorInfo(std::wstring const & bstrDescription, unsigned int ulHRESULT = 0, unsigned int dwReserved = 0, std::wstring const & bstrHelpKeyword = "0", std::wstring const & bstrSource = "0");
[System.Runtime.InteropServices.DispId(1610743839)]
public virtual void SetErrorInfo (string bstrDescription, uint ulHRESULT = 0, uint dwReserved = 0, string bstrHelpKeyword = "0", string bstrSource = "0");
[<System.Runtime.InteropServices.DispId(1610743839)>]
abstract member SetErrorInfo : string * uint32 * uint32 * string * string -> unit
override this.SetErrorInfo : string * uint32 * uint32 * string * string -> unit
Public Overridable Sub SetErrorInfo (bstrDescription As String, Optional ulHRESULT As UInteger = 0, Optional dwReserved As UInteger = 0, Optional bstrHelpKeyword As String = "0", Optional bstrSource As String = "0")

Parameters

bstrDescription
String

A string containing a description of the error.

ulHRESULT
UInt32

The status code returned by the wizard.

dwReserved
UInt32

Reserved.

bstrHelpKeyword
String

The keyword to attach to a help button on the message box

bstrSource
String

A string containing the name of the error source.

Implements

Attributes

Applies to