TelemetryClient.TrackException Method (Exception)

Send an ExceptionTelemetry for display in Diagnostic Search.

Namespace: Microsoft.ApplicationInsights
Assembly: Microsoft.ApplicationInsights (in Microsoft.ApplicationInsights.dll)

'Usage
Dim instance As TelemetryClient
Dim exception As Exception

instance.TrackException(exception)

public void TrackException (
	Exception exception
)
public void TrackException (
	Exception exception
)
public function TrackException (
	exception : Exception
)

Parameters

exception

The exception to log.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows 8, Windows Server 2012

 

Show: