Property | Type | Description | |
---|---|---|---|
_requestMessageOptions | RaygunRequestMessageOptions |
Method | Description | |
---|---|---|
AddWrapperExceptions ( ) : void |
Adds a list of outer exceptions that will be stripped, leaving only the valuable inner exception. This can be used when a wrapper exception, e.g. TargetInvocationException or AggregateException, contains the actual exception as the InnerException. The message and stack trace of the inner exception will then be used by Raygun for grouping and display. The above two do not need to be added manually, but if you have other wrapper exceptions that you want stripped you can pass them in here.
|
|
Attach ( string apiKey ) : void |
Causes Raygun to listen to and send all unhandled exceptions and unobserved task exceptions.
|
|
Attach ( string apiKey, bool canReportNativeErrors, bool hijackNativeSignals ) : void |
Causes Raygun to listen to and send all unhandled exceptions and unobserved task exceptions.
|
|
Attach ( string apiKey, string user ) : void |
Causes Raygun to listen to and send all unhandled exceptions and unobserved task exceptions.
|
|
Attach ( string apiKey, string user, bool canReportNativeErrors, bool hijackNativeSignals ) : void |
Causes Raygun to listen to and send all unhandled exceptions and unobserved task exceptions.
|
|
AttachCrashReporting ( ) : |
Causes Raygun to listen to and send all unhandled exceptions and unobserved task exceptions. Native iOS exception reporting is not enabled with this method, an overload is available to do so.
|
|
AttachCrashReporting ( bool canReportNativeErrors, bool hijackNativeSignals ) : |
Causes Raygun to listen to and send all unhandled exceptions and unobserved task exceptions.
|
|
AttachPulse ( ) : |
Causes Raygun to automatically send session and view events for Raygun Pulse.
|
|
AttachPulse ( Activity mainActivity ) : |
Causes Raygun to automatically send session and view events for Raygun Pulse.
|
|
Detach ( ) : void |
Detaches Raygun from listening to unhandled exceptions and unobserved task exceptions.
|
|
DetachCrashReporting ( ) : void |
Detaches Raygun from listening to unhandled exceptions and unobserved task exceptions.
|
|
DetachPulse ( ) : void |
Detaches Raygun from automatically sending session and view events to Raygun Pulse.
|
|
IgnoreCookieNames ( ) : void |
Adds a list of keys to ignore when attaching the cookies of an HTTP POST request. This allows you to remove sensitive data from the transmitted copy of the Cookies on the HttpRequest by specifying the keys you want removed. This method is only effective in a web context.
|
|
IgnoreFormFieldNames ( ) : void |
Adds a list of keys to ignore when attaching the Form data of an HTTP POST request. This allows you to remove sensitive data from the transmitted copy of the Form on the HttpRequest by specifying the keys you want removed. This method is only effective in a web context.
|
|
IgnoreHeaderNames ( ) : void |
Adds a list of keys to ignore when attaching the headers of an HTTP POST request. This allows you to remove sensitive data from the transmitted copy of the Headers on the HttpRequest by specifying the keys you want removed. This method is only effective in a web context.
|
|
IgnoreServerVariableNames ( ) : void |
Adds a list of keys to ignore when attaching the server variables of an HTTP POST request. This allows you to remove sensitive data from the transmitted copy of the ServerVariables on the HttpRequest by specifying the keys you want removed. This method is only effective in a web context.
|
|
Initialize ( string apiKey ) : RaygunClient |
Initializes the static RaygunClient with the given Raygun api key.
|
|
RaygunClient ( string apiKey ) : Foundation |
Initializes a new instance of the RaygunClient class.
|
|
RaygunClient ( ) : System |
Initializes a new instance of the RaygunClient class. Uses the ApiKey specified in the config file.
|
|
RaygunClient ( RaygunSettings settings, HttpContext context = null ) : System | ||
RaygunClient ( string apiKey ) : System |
Initializes a new instance of the RaygunClient class.
|
|
RemoveWrapperExceptions ( ) : void |
Specifies types of wrapper exceptions that Raygun should send rather than stripping out and sending the inner exception. This can be used to remove the default wrapper exceptions (TargetInvocationException and AggregateException).
|
|
Send ( RaygunMessage raygunMessage ) : Task |
Posts a RaygunMessage to the Raygun api endpoint.
|
|
Send ( Exception exception ) : void |
Transmits an exception to Raygun.io synchronously, using the version number of the originating assembly.
|
|
Send ( Exception exception, IList |
Transmits an exception to Raygun.io synchronously specifying a list of string tags associated with the message for identification. This uses the version number of the originating assembly.
|
|
Send ( Exception exception, IList |
Transmits an exception to Raygun.io synchronously specifying a list of string tags associated with the message for identification, as well as sending a key-value collection of custom data. This uses the version number of the originating assembly.
|
|
Send ( Exception exception, IList |
Transmits an exception to Raygun synchronously specifying a list of string tags associated with the message for identification, as well as sending a key-value collection of custom data.
|
|
Send ( Exception exception, IList |
Transmits an exception to Raygun.io synchronously specifying a list of string tags associated with the message for identification, as well as sending a key-value collection of custom data. This uses the version number of the originating assembly.
|
|
Send ( RaygunMessage raygunMessage ) : void |
Posts a RaygunMessage to the Raygun.io api endpoint.
|
|
SendInBackground ( Exception exception ) : Task |
Asynchronously transmits a message to Raygun.
|
|
SendInBackground ( Exception exception, IList |
Asynchronously transmits an exception to Raygun.
|
|
SendInBackground ( Exception exception, IList |
Asynchronously transmits an exception to Raygun.
|
|
SendInBackground ( RaygunMessage raygunMessage ) : Task |
Asynchronously transmits a message to Raygun.
|
|
SendInBackground ( Exception exception ) : void |
Asynchronously transmits a message to Raygun.io.
|
|
SendInBackground ( Exception exception, IList |
Asynchronously transmits a message to Raygun.io.
|
|
SendInBackground ( Exception exception, IList |
Asynchronously transmits a message to Raygun.io.
|
|
SendInBackground ( Exception exception, IList |
Asynchronously transmits an exception to Raygun.io.
|
|
SendInBackground ( RaygunMessage raygunMessage ) : void |
Asynchronously transmits a message to Raygun.io.
|
|
SendPulseTimingEvent ( RaygunPulseEventType eventType, string name, long milliseconds ) : void |
Sends a pulse timing event to Raygun. The message is sent on a background thread.
|
|
SetCurrentContext ( HttpContext request ) : RaygunClient |
Method | Description | |
---|---|---|
BuildMessage ( |
||
BuildMessage ( |
||
BuildMessage ( |
||
BuildMessage ( |
||
CanSend ( |
||
CanSend ( Mindscape.Raygun4Net.Messages.RaygunMessage message ) : bool | ||
CreateWebClient ( ) : |
||
FlagAsSent ( |
||
OnCustomGroupingKey ( Exception exception, RaygunMessage message ) : Task |
||
OnSendingMessage ( RaygunMessage raygunMessage ) : bool | ||
StripWrapperExceptions ( Exception exception ) : IEnumerable |
Method | Description | |
---|---|---|
AndroidEnvironment_UnhandledExceptionRaiser ( object sender, RaiseThrowableEventArgs e ) : void | ||
BuildRaygunIdentifierMessage ( string machineName ) : Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage | ||
BuildRequestMessage ( ) : Mindscape.Raygun4Net.Messages.RaygunRequestMessage | ||
BuildRequestMessage ( ) : Task |
||
BuildResponseMessage ( ) : Mindscape.Raygun4Net.Messages.RaygunResponseMessage | ||
CurrentDomain_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void | ||
DeleteFile ( |
||
FileExists ( string files, string fileName ) : bool | ||
FlagExceptionAsSent ( |
||
GetIsolatedStorageScope ( ) : IsolatedStorageFile | ||
GetStoredMessageCount ( ) : int | ||
GetVersion ( ) : string | ||
PopulateCrashReportDirectoryStructure ( ) : void | ||
RaygunClient_SendingMessage ( object sender, RaygunSendingMessageEventArgs e ) : void | ||
SaveMessage ( string message ) : void | ||
Send ( PulseEventBatch batch ) : void | ||
Send ( RaygunMessage raygunMessage, int timeout ) : void | ||
Send ( RaygunPulseMessage raygunPulseMessage ) : void | ||
Send ( string message ) : void | ||
SendAsync ( Exception exception, IList |
||
SendCore ( PulseEventBatch batch ) : void | ||
SendMessage ( string message ) : bool | ||
SendMessage ( string message, int timeout ) : bool | ||
SendPulseMessage ( string message ) : bool | ||
SendPulseSessionEvent ( RaygunPulseSessionEventType eventType ) : void |
Sends a Pulse session event to Raygun. The message is sent on a background thread.
|
|
SendPulseSessionEventCore ( RaygunPulseSessionEventType eventType ) : void | ||
SendPulseSessionEventNow ( RaygunPulseSessionEventType eventType ) : void | ||
SendPulseTimingEventCore ( RaygunPulseEventType eventType, string name, long milliseconds ) : void | ||
SendPulseTimingEventNow ( RaygunPulseEventType eventType, string name, long milliseconds ) : void | ||
SendStoredMessages ( ) : void | ||
SendStoredMessages ( int timeout ) : void | ||
StripAndSend ( Exception exception, IList |
||
StripAndSend ( Exception exception, IList |
||
StripAndSend ( Exception exception, IList |
||
StripAndSend ( Exception exception, IList |
||
StripWrapperExceptions ( Exception exception ) : Exception | ||
TaskScheduler_UnobservedTaskException ( object sender, UnobservedTaskExceptionEventArgs e ) : void | ||
ValidateApiKey ( ) : bool | ||
WriteExceptionInformation ( string identifier, Exception exception ) : void | ||
sigaction ( Signal sig, IntPtr act, IntPtr oact ) : int |
public static Attach ( string apiKey ) : void | ||
apiKey | string | Your app api key. |
return | void |
public static Attach ( string apiKey, bool canReportNativeErrors, bool hijackNativeSignals ) : void | ||
apiKey | string | Your app api key. |
canReportNativeErrors | bool | Whether or not to listen to and report native exceptions. |
hijackNativeSignals | bool | When true, this solves the issue where null reference exceptions inside try/catch blocks crash the app, but when false, additional native errors can be reported. |
return | void |
public static Attach ( string apiKey, string user ) : void | ||
apiKey | string | Your app api key. |
user | string | An identity string for tracking affected users. |
return | void |
public static Attach ( string apiKey, string user, bool canReportNativeErrors, bool hijackNativeSignals ) : void | ||
apiKey | string | Your app api key. |
user | string | An identity string for tracking affected users. |
canReportNativeErrors | bool | Whether or not to listen to and report native exceptions. |
hijackNativeSignals | bool | When true, this solves the issue where null reference exceptions inside try/catch blocks crash the app, but when false, additional native errors can be reported. |
return | void |
public AttachCrashReporting ( ) : |
||
return |
public AttachCrashReporting ( bool canReportNativeErrors, bool hijackNativeSignals ) : |
||
canReportNativeErrors | bool | Whether or not to listen to and report native exceptions. |
hijackNativeSignals | bool | When true, this solves the issue where null reference exceptions inside try/catch blocks crash the app, but when false, additional native errors can be reported. |
return |
public AttachPulse ( Activity mainActivity ) : |
||
mainActivity | Activity | The main/entry activity of the Android app. |
return |
protected BuildMessage ( |
||
exception | ||
tags | IList |
|
userCustomData | IDictionary | |
return | Mindscape.Raygun4Net.Messages.RaygunMessage |
protected BuildMessage ( |
||
exception | ||
tags | IList |
|
userCustomData | IDictionary | |
userInfoMessage | Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage | |
return | Mindscape.Raygun4Net.Messages.RaygunMessage |
protected BuildMessage ( |
||
exception | ||
tags | IList |
|
userCustomData | IDictionary | |
userInfoMessage | Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage | |
currentTime | System.DateTime | |
return | Mindscape.Raygun4Net.Messages.RaygunMessage |
protected BuildMessage ( |
||
exception | ||
tags | IList |
|
userCustomData | IDictionary | |
return | Task |
protected CanSend ( |
||
exception | ||
return | bool |
protected CanSend ( Mindscape.Raygun4Net.Messages.RaygunMessage message ) : bool | ||
message | Mindscape.Raygun4Net.Messages.RaygunMessage | |
return | bool |
protected CreateWebClient ( ) : |
||
return |
public static DetachCrashReporting ( ) : void | ||
return | void |
protected FlagAsSent ( |
||
exception | ||
return | void |
public static Initialize ( string apiKey ) : RaygunClient | ||
apiKey | string | Your Raygun api key for this application. |
return | RaygunClient |
protected OnCustomGroupingKey ( Exception exception, RaygunMessage message ) : Task |
||
exception | Exception | |
message | RaygunMessage | |
return | Task |
protected OnSendingMessage ( RaygunMessage raygunMessage ) : bool | ||
raygunMessage | RaygunMessage | |
return | bool |
public RaygunClient ( string apiKey ) : Foundation | ||
apiKey | string | The API key. |
return | Foundation |
public RaygunClient ( RaygunSettings settings, HttpContext context = null ) : System | ||
settings | RaygunSettings | |
context | HttpContext | |
return | System |
public RaygunClient ( string apiKey ) : System | ||
apiKey | string | The API key. |
return | System |
public Send ( RaygunMessage raygunMessage ) : Task | ||
raygunMessage | RaygunMessage | The RaygunMessage to send. This needs its OccurredOn property /// set to a valid DateTime and as much of the Details property as is available. |
return | Task |
public Send ( Exception exception ) : void | ||
exception | Exception | The exception to deliver. |
return | void |
public Send ( Exception exception, IList |
||
exception | Exception | The exception to deliver. |
tags | IList |
A list of strings associated with the message. |
return | void |
public Send ( Exception exception, IList |
||
exception | Exception | The exception to deliver. |
tags | IList |
A list of strings associated with the message. |
userCustomData | IDictionary | A key-value collection of custom data that will be added to the payload. |
return | void |
public Send ( Exception exception, IList |
||
exception | Exception | The exception to deliver. |
tags | IList |
A list of strings associated with the message. |
userCustomData | IDictionary | A key-value collection of custom data that will be added to the payload. |
context | HttpContext | The current web HttpContext |
return | void |
public Send ( Exception exception, IList |
||
exception | Exception | The exception to deliver. |
tags | IList |
A list of strings associated with the message. |
userCustomData | IDictionary | A key-value collection of custom data that will be added to the payload. |
userInfo | RaygunIdentifierMessage | Information about the user including the identity string. |
return | void |
public Send ( RaygunMessage raygunMessage ) : void | ||
raygunMessage | RaygunMessage | The RaygunMessage to send. This needs its OccurredOn property /// set to a valid DateTime and as much of the Details property as is available. |
return | void |
public SendInBackground ( Exception exception ) : Task | ||
exception | Exception | The exception to deliver. |
return | Task |
public SendInBackground ( Exception exception, IList |
||
exception | Exception | The exception to deliver. |
tags | IList |
A list of strings associated with the message. |
return | Task |
public SendInBackground ( Exception exception, IList |
||
exception | Exception | The exception to deliver. |
tags | IList |
A list of strings associated with the message. |
userCustomData | IDictionary | A key-value collection of custom data that will be added to the payload. |
return | Task |
public SendInBackground ( RaygunMessage raygunMessage ) : Task | ||
raygunMessage | RaygunMessage | The RaygunMessage to send. This needs its OccurredOn property /// set to a valid DateTime and as much of the Details property as is available. |
return | Task |
public SendInBackground ( Exception exception ) : void | ||
exception | Exception | The exception to deliver. |
return | void |
public SendInBackground ( Exception exception, IList |
||
exception | Exception | The exception to deliver. |
tags | IList |
A list of strings associated with the message. |
return | void |
public SendInBackground ( Exception exception, IList |
||
exception | Exception | The exception to deliver. |
tags | IList |
A list of strings associated with the message. |
userCustomData | IDictionary | A key-value collection of custom data that will be added to the payload. |
return | void |
public SendInBackground ( Exception exception, IList |
||
exception | Exception | The exception to deliver. |
tags | IList |
A list of strings associated with the message. |
userCustomData | IDictionary | A key-value collection of custom data that will be added to the payload. |
userInfo | RaygunIdentifierMessage | Information about the user including the identity string. |
return | void |
public SendInBackground ( RaygunMessage raygunMessage ) : void | ||
raygunMessage | RaygunMessage | The RaygunMessage to send. This needs its OccurredOn property /// set to a valid DateTime and as much of the Details property as is available. |
return | void |
public SendPulseTimingEvent ( RaygunPulseEventType eventType, string name, long milliseconds ) : void | ||
eventType | RaygunPulseEventType | The type of event that occurred. |
name | string | The name of the event resource such as the view name or URL of a network call. |
milliseconds | long | The duration of the event in milliseconds. |
return | void |
public SetCurrentContext ( HttpContext request ) : RaygunClient | ||
request | HttpContext | |
return | RaygunClient |
protected StripWrapperExceptions ( Exception exception ) : IEnumerable |
||
exception | Exception | |
return | IEnumerable |