Método ILogger.LogException (String, Int32, String, Exception)
Registra uma exceção em log.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (em Microsoft.VisualStudio.TeamFoundation.Client.dll)
Sintaxe
'Declaração
Sub LogException ( _
plugin As String, _
logLevel As Integer, _
msg As String, _
e As Exception _
)
void LogException(
string plugin,
int logLevel,
string msg,
Exception e
)
Parâmetros
- plugin
Tipo: System.String
O plug-in que lançou a exceção.
- logLevel
Tipo: System.Int32
O nível de log.
- msg
Tipo: System.String
Uma mensagem para gravar o log.
- e
Tipo: System.Exception
A exceção para gravar o log.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.