ILogger.LogException Method (String, Int32, Exception)
Logs an exception.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Декларация
Sub LogException ( _
plugin As String, _
logLevel As Integer, _
e As Exception _
)
void LogException(
string plugin,
int logLevel,
Exception e
)
void LogException(
String^ plugin,
int logLevel,
Exception^ e
)
abstract LogException :
plugin:string *
logLevel:int *
e:Exception -> unit
function LogException(
plugin : String,
logLevel : int,
e : Exception
)
Parameters
- plugin
Type: System.String
The plug-in that raised the exception.
- logLevel
Type: System.Int32
The log level.
- e
Type: System.Exception
The exception object to log.
.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.