Condividi tramite


IVsSettingsReader.ReportError(String, UInt32) Method

Definition

Reports the error status of the settings file read operation.

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

Parameters

pszError
String

[in] The error status string.

dwErrorType
UInt32

[in] A __VSSETTINGSERRORTYPES that specifies the type of error status.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to