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
Properties
IsDatabaseCommandMonitorEnabled
public static bool IsDatabaseCommandMonitorEnabled { get; }
Property Value
SentryVersion
public static string SentryVersion { get; }
Property Value
Settings
public static MonitoringSettings Settings { get; }
Property Value
Methods
CaptureException(Exception)
public static void CaptureException(Exception error)
Parameters
errorException
IgnoreTransaction(HttpRequest)
public static bool IgnoreTransaction(HttpRequest request)
Parameters
requestHttpRequest
Returns
Initialize()
public static IDisposable Initialize()
Returns
IsIntercepted(Exception)
public static bool IsIntercepted(Exception error)
Parameters
errorException
Returns
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
exException
Returns
IsUrlRoutingException(Exception, out string)
Returns true for File Not Found errors.
public static bool IsUrlRoutingException(Exception ex, out string file)
Parameters
Returns
IsViewStateException(Exception)
public static bool IsViewStateException(Exception error)
Parameters
errorException
Returns
SentryError(Exception)
public static void SentryError(Exception ex)
Parameters
exException
SentryError(string)
public static void SentryError(string error)
Parameters
errorstring
SentryError(string, string)
public static void SentryError(string error, string source)
Parameters
SentryInfo(string)
public static void SentryInfo(string info)
Parameters
infostring
SentryScope(Scope)
public static void SentryScope(Scope scope)
Parameters
scopeScope
SentryWarning(Exception)
public static void SentryWarning(Exception ex)
Parameters
exException
SentryWarning(string)
public static void SentryWarning(string warning)
Parameters
warningstring
SentryWarning(string, string)
public static void SentryWarning(string warning, string source)
Parameters
UpdateDatabaseCommandMonitor()
public static void UpdateDatabaseCommandMonitor()