This documentation is archived and is not being maintained.

ILogger::LogException Method (String, Int32, Exception)

Logs an exception.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

void LogException(
	String^ plugin, 
	int logLevel, 
	Exception^ e
)

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.

Show: