IVsSolutionLogger::LogError Method (UInt32, String^, String^, Int32, Int32, String^, String^, String^, String^)

 

Logs a load error.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int LogError(
	unsigned int ErrorType,
	String^ pszMessage,
	String^ pszFile,
	int nLine,
	int nColumn,
	String^ pszErrorCode,
	String^ pszTaskListMessage,
	String^ pszUniqueProjectName,
	String^ pszHelpKeyword
)

Parameters

ErrorType
Type: System::UInt32

The error type (from __VsErrorType).

pszMessage
Type: System::String^

The error message.

pszFile
Type: System::String^

The name of the project file that failed to load.

nLine
Type: System::Int32

The line number of the project file that caused the error.

nColumn
Type: System::Int32

The column number of the line in the project file that caused the error.

pszErrorCode
Type: System::String^

The error code.

pszTaskListMessage
Type: System::String^

The message to add to the task list.

pszUniqueProjectName
Type: System::String^

The unique project name.

pszHelpKeyword
Type: System::String^

The help keyword.

Return Value

Type: System::Int32

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

Return to top
Show: