VCWizCtlClass.SetErrorInfo(String, UInt32, UInt32, String, String) Méthode

Définition

Définit le texte d'erreur pour l'élément spécifié.

 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")

Paramètres

bstrDescription
String

Chaîne contenant une description de l'erreur.

ulHRESULT
UInt32

Code d'état retourné par l'Assistant.

dwReserved
UInt32

Réservé.

bstrHelpKeyword
String

Mot clé à associer à un bouton d'aide dans la boîte de message

bstrSource
String

Chaîne contenant le nom de la source d'erreur.

Implémente

Attributs

S’applique à