This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Microsoft Internal Use Only.
Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
声明
Sub AddError ( _
    text As String, _
    errorID As String, _
    File As String, _
    line As Integer _
)
void AddError(
    string text,
    string errorID,
    string File,
    int line
)
void AddError(
    [InAttribute] String^ text, 
    [InAttribute] String^ errorID, 
    [InAttribute] String^ File, 
    [InAttribute] int line
)
abstract AddError : 
        text:string * 
        errorID:string * 
        File:string * 
        line:int -> unit 
function AddError(
    text : String, 
    errorID : String, 
    File : String, 
    line : int
)
Parameters
- text
 Type: System.String
 Error text
- errorID
 Type: System.String
 Error ID
- File
 Type: System.String
 File that contains error
- line
 Type: System.Int32
 Line in file
.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.