Logs a load error.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function LogError ( _
    ErrorType As UInteger, _
    pszMessage As String, _
    pszFile As String, _
    nLine As Integer, _
    nColumn As Integer, _
    pszErrorCode As String, _
    pszTaskListMessage As String, _
    pszUniqueProjectName As String, _
    pszHelpKeyword As String _
) As Integer
int LogError(
    uint ErrorType,
    string pszMessage,
    string pszFile,
    int nLine,
    int nColumn,
    string pszErrorCode,
    string pszTaskListMessage,
    string pszUniqueProjectName,
    string pszHelpKeyword
)
int LogError(
    unsigned int ErrorType, 
    String^ pszMessage, 
    String^ pszFile, 
    int nLine, 
    int nColumn, 
    String^ pszErrorCode, 
    String^ pszTaskListMessage, 
    String^ pszUniqueProjectName, 
    String^ pszHelpKeyword
)
abstract LogError : 
        ErrorType:uint32 * 
        pszMessage:string * 
        pszFile:string * 
        nLine:int * 
        nColumn:int * 
        pszErrorCode:string * 
        pszTaskListMessage:string * 
        pszUniqueProjectName:string * 
        pszHelpKeyword:string -> int
function LogError(
    ErrorType : uint, 
    pszMessage : String, 
    pszFile : String, 
    nLine : int, 
    nColumn : int, 
    pszErrorCode : String, 
    pszTaskListMessage : String, 
    pszUniqueProjectName : String, 
    pszHelpKeyword : String
) : int
Parameters
- ErrorType 
 Type: UInt32- The error type (from __VsErrorType). 
- pszMessage 
 Type: String- The error message. 
- pszFile 
 Type: String- The name of the project file that failed to load. 
- nLine 
 Type: Int32- The line number of the project file that caused the error. 
- nColumn 
 Type: Int32- The column number of the line in the project file that caused the error. 
- pszErrorCode 
 Type: String- The error code. 
- pszTaskListMessage 
 Type: String- The message to add to the task list. 
- pszUniqueProjectName 
 Type: String- The unique project name. 
- pszHelpKeyword 
 Type: String- The help keyword. 
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.