ISimpleErrorContext.AddWarning 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
声明
Sub AddWarning ( _
text As String, _
warningID As String, _
File As String, _
line As Integer _
)
void AddWarning(
string text,
string warningID,
string File,
int line
)
void AddWarning(
[InAttribute] String^ text,
[InAttribute] String^ warningID,
[InAttribute] String^ File,
[InAttribute] int line
)
abstract AddWarning :
text:string *
warningID:string *
File:string *
line:int -> unit
function AddWarning(
text : String,
warningID : String,
File : String,
line : int
)
Parameters
- text
Type: System.String
Warning text
- warningID
Type: System.String
Warning ID
- File
Type: System.String
File that contains warning
- 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.