Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Logs an exception.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Declaration
Sub LogException ( _
plugin As String, _
logLevel As Integer, _
msg As String, _
e As Exception _
)
void LogException(
string plugin,
int logLevel,
string msg,
Exception e
)
void LogException(
String^ plugin,
int logLevel,
String^ msg,
Exception^ e
)
abstract LogException :
plugin:string *
logLevel:int *
msg:string *
e:Exception -> unit
function LogException(
plugin : String,
logLevel : int,
msg : String,
e : Exception
)
Parameters
plugin
Type: System.StringThe plug-in that raised the exception.
logLevel
Type: System.Int32The log level.
msg
Type: System.StringA message to write to the log.
e
Type: System.ExceptionThe exception to write to the 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.