ILogger.LogEvent Method (String, Int32, XmlNode)
Logs an event.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
声明
Sub LogEvent ( _
plugin As String, _
logLevel As Integer, _
innerXml As XmlNode _
)
void LogEvent(
string plugin,
int logLevel,
XmlNode innerXml
)
void LogEvent(
String^ plugin,
int logLevel,
XmlNode^ innerXml
)
abstract LogEvent :
plugin:string *
logLevel:int *
innerXml:XmlNode -> unit
function LogEvent(
plugin : String,
logLevel : int,
innerXml : XmlNode
)
Parameters
- plugin
Type: System.String
The plug-in that raised the event.
- logLevel
Type: System.Int32
The log level.
- innerXml
Type: System.Xml.XmlNode
The message to write to the log in XML format.
.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.