ISimpleErrorContext.AddError Method
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
'Declaration
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.StringError text
errorID
Type: System.StringError ID
File
Type: System.StringFile that contains error
line
Type: System.Int32Line 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.