IVsSettingsWriter.ReportError(String, UInt32) Yöntem

Tanım

Ayarlar dosyası yazma işleminin hata durumunu raporlar.

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

Parametreler

pszError
String

'ndaki Hata durumu dizesi.

dwErrorType
UInt32

'ndaki __VSSETTINGSERRORTYPES Hata durumu türünü belirten bir.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Şunlara uygulanır