IVsSettingsReader.ReportError(String, UInt32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Signale l'état d'erreur de l'opération de lecture du fichier de paramètres.
public:
int ReportError(System::String ^ pszError, System::UInt32 dwErrorType);
public:
int ReportError(Platform::String ^ pszError, unsigned int dwErrorType);
int ReportError(std::wstring const & pszError, unsigned int dwErrorType);
public int ReportError (string pszError, uint dwErrorType);
abstract member ReportError : string * uint32 -> int
Public Function ReportError (pszError As String, dwErrorType As UInteger) As Integer
Paramètres
- pszError
- String
[in] Chaîne d'état de l'erreur.
- dwErrorType
- UInt32
[in] __VSSETTINGSERRORTYPES qui spécifie le type d'état d'erreur.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.