Table of Contents

Class AppSentry

Namespace
InSite
Assembly
InSite.UI.dll
public static class AppSentry
Inheritance
AppSentry
Inherited Members

Fields

AssemblyVersion

public static readonly string AssemblyVersion

Field Value

string

Properties

IsDatabaseCommandMonitorEnabled

public static bool IsDatabaseCommandMonitorEnabled { get; }

Property Value

bool

SentryVersion

public static string SentryVersion { get; }

Property Value

string

Settings

public static MonitoringSettings Settings { get; }

Property Value

MonitoringSettings

Methods

CaptureException(Exception)

public static void CaptureException(Exception error)

Parameters

error Exception

IgnoreTransaction(HttpRequest)

public static bool IgnoreTransaction(HttpRequest request)

Parameters

request HttpRequest

Returns

bool

Initialize()

public static IDisposable Initialize()

Returns

IDisposable

IsIntercepted(Exception)

public static bool IsIntercepted(Exception error)

Parameters

error Exception

Returns

bool

IsInvalidWebResourceRequestException(Exception)

Returns true for invalid WebResource.axd requests. In both these cases ASP.NET returns an HTTP 404 response, by default, which is the behaviour we want.

public static bool IsInvalidWebResourceRequestException(Exception ex)

Parameters

ex Exception

Returns

bool

IsUrlRoutingException(Exception, out string)

Returns true for File Not Found errors.

public static bool IsUrlRoutingException(Exception ex, out string file)

Parameters

ex Exception
file string

Returns

bool

IsViewStateException(Exception)

public static bool IsViewStateException(Exception error)

Parameters

error Exception

Returns

bool

SentryError(Exception)

public static void SentryError(Exception ex)

Parameters

ex Exception

SentryError(string)

public static void SentryError(string error)

Parameters

error string

SentryError(string, string)

public static void SentryError(string error, string source)

Parameters

error string
source string

SentryInfo(string)

public static void SentryInfo(string info)

Parameters

info string

SentryScope(Scope)

public static void SentryScope(Scope scope)

Parameters

scope Scope

SentryWarning(Exception)

public static void SentryWarning(Exception ex)

Parameters

ex Exception

SentryWarning(string)

public static void SentryWarning(string warning)

Parameters

warning string

SentryWarning(string, string)

public static void SentryWarning(string warning, string source)

Parameters

warning string
source string

UpdateDatabaseCommandMonitor()

public static void UpdateDatabaseCommandMonitor()