ExceptionTelemetry Constructor (Exception)

Initializes a new instance of the ExceptionTelemetry Class.Initializes a new instance of the ExceptionTelemetry Class.

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

Usage

'Usage
Dim exception As Exception

Dim instance As New ExceptionTelemetry(exception)

Syntax

'Declaration
Public Sub New ( _
    exception As Exception _
)
public ExceptionTelemetry (
    Exception exception
)
public:
ExceptionTelemetry (
    Exception^ exception
)
public ExceptionTelemetry (
    Exception exception
)
public function ExceptionTelemetry (
    exception : Exception
)

Remarks

The default constructor initializes any fields to their default values.

Platforms

Development Platforms

Windows 8, Windows Server 2012

See Also

Reference

ExceptionTelemetry Class
ExceptionTelemetry Members
Microsoft.ApplicationInsights.Contracts Namespace