IVsSettingsWriter.ReportError(String, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reports the error status of the settings file write 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.