C# Class Mindscape.Raygun4Net.RaygunClient

Afficher le fichier Open project: MindscapeHQ/raygun4net Class Usage Examples

Protected Properties

Свойство Type Description
_requestMessageOptions RaygunRequestMessageOptions

Private Properties

Свойство Type Description
AndroidEnvironment_UnhandledExceptionRaiser void
BuildRaygunIdentifierMessage Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage
BuildRequestMessage Mindscape.Raygun4Net.Messages.RaygunRequestMessage
BuildRequestMessage Task
BuildResponseMessage Mindscape.Raygun4Net.Messages.RaygunResponseMessage
CurrentDomain_UnhandledException void
DeleteFile void
FileExists bool
FlagExceptionAsSent void
GetIsolatedStorageScope IsolatedStorageFile
GetStoredMessageCount int
GetVersion string
PopulateCrashReportDirectoryStructure void
RaygunClient_SendingMessage void
SaveMessage void
Send void
Send void
Send void
Send void
SendAsync Task
SendCore void
SendMessage bool
SendMessage bool
SendPulseMessage bool
SendPulseSessionEvent void
SendPulseSessionEventCore void
SendPulseSessionEventNow void
SendPulseTimingEventCore void
SendPulseTimingEventNow void
SendStoredMessages void
SendStoredMessages void
StripAndSend Task
StripAndSend void
StripAndSend void
StripAndSend void
StripWrapperExceptions Exception
TaskScheduler_UnobservedTaskException void
ValidateApiKey bool
WriteExceptionInformation void
sigaction int

Méthodes publiques

Méthode 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 ( ) : RaygunClient

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 ) : RaygunClient

Causes Raygun to listen to and send all unhandled exceptions and unobserved task exceptions.

AttachPulse ( ) : RaygunClient

Causes Raygun to automatically send session and view events for Raygun Pulse.

AttachPulse ( Activity mainActivity ) : RaygunClient

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 tags ) : void

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 tags, IDictionary userCustomData ) : void

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 tags, IDictionary userCustomData, HttpContext context ) : void

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 tags, IDictionary userCustomData, RaygunIdentifierMessage userInfo ) : void

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 tags ) : Task

Asynchronously transmits an exception to Raygun.

SendInBackground ( Exception exception, IList tags, IDictionary userCustomData ) : Task

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 tags ) : void

Asynchronously transmits a message to Raygun.io.

SendInBackground ( Exception exception, IList tags, IDictionary userCustomData ) : void

Asynchronously transmits a message to Raygun.io.

SendInBackground ( Exception exception, IList tags, IDictionary userCustomData, RaygunIdentifierMessage userInfo ) : void

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

Méthodes protégées

Méthode Description
BuildMessage ( Exception exception, IList tags, IDictionary userCustomData ) : Mindscape.Raygun4Net.Messages.RaygunMessage
BuildMessage ( Exception exception, IList tags, IDictionary userCustomData, Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage userInfoMessage ) : Mindscape.Raygun4Net.Messages.RaygunMessage
BuildMessage ( Exception exception, IList tags, IDictionary userCustomData, Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage userInfoMessage, System.DateTime currentTime ) : Mindscape.Raygun4Net.Messages.RaygunMessage
BuildMessage ( Exception exception, IList tags, IDictionary userCustomData ) : Task
CanSend ( Exception exception ) : bool
CanSend ( Mindscape.Raygun4Net.Messages.RaygunMessage message ) : bool
CreateWebClient ( ) : WebClient
FlagAsSent ( Exception exception ) : void
OnCustomGroupingKey ( Exception exception, RaygunMessage message ) : Task
OnSendingMessage ( RaygunMessage raygunMessage ) : bool
StripWrapperExceptions ( Exception exception ) : IEnumerable

Private Methods

Méthode 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 ( File dir, string fileName ) : void
FileExists ( string files, string fileName ) : bool
FlagExceptionAsSent ( Exception exception ) : void
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 tags, IDictionary userCustomData, HttpContext context ) : Task
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 tags, IDictionary userCustomData ) : Task
StripAndSend ( Exception exception, IList tags, IDictionary userCustomData ) : void
StripAndSend ( Exception exception, IList tags, IDictionary userCustomData, RaygunIdentifierMessage userInfo, DateTime currentTime ) : void
StripAndSend ( Exception exception, IList tags, IDictionary userCustomData, int timeout ) : void
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

Method Details

AddWrapperExceptions() public méthode

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.
public AddWrapperExceptions ( ) : void
Résultat void

Attach() public static méthode

Causes Raygun to listen to and send all unhandled exceptions and unobserved task exceptions.
public static Attach ( string apiKey ) : void
apiKey string Your app api key.
Résultat void

Attach() public static méthode

Causes Raygun to listen to and send all unhandled exceptions and unobserved task exceptions.
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.
Résultat void

Attach() public static méthode

Causes Raygun to listen to and send all unhandled exceptions and unobserved task exceptions.
public static Attach ( string apiKey, string user ) : void
apiKey string Your app api key.
user string An identity string for tracking affected users.
Résultat void

Attach() public static méthode

Causes Raygun to listen to and send all unhandled exceptions and unobserved task exceptions.
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.
Résultat void

AttachCrashReporting() public méthode

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.
public AttachCrashReporting ( ) : RaygunClient
Résultat RaygunClient

AttachCrashReporting() public méthode

Causes Raygun to listen to and send all unhandled exceptions and unobserved task exceptions.
public AttachCrashReporting ( bool canReportNativeErrors, bool hijackNativeSignals ) : RaygunClient
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.
Résultat RaygunClient

AttachPulse() public méthode

Causes Raygun to automatically send session and view events for Raygun Pulse.
public AttachPulse ( ) : RaygunClient
Résultat RaygunClient

AttachPulse() public méthode

Causes Raygun to automatically send session and view events for Raygun Pulse.
public AttachPulse ( Activity mainActivity ) : RaygunClient
mainActivity Activity The main/entry activity of the Android app.
Résultat RaygunClient

BuildMessage() protected méthode

protected BuildMessage ( Exception exception, IList tags, IDictionary userCustomData ) : Mindscape.Raygun4Net.Messages.RaygunMessage
exception System.Exception
tags IList
userCustomData IDictionary
Résultat Mindscape.Raygun4Net.Messages.RaygunMessage

BuildMessage() protected méthode

protected BuildMessage ( Exception exception, IList tags, IDictionary userCustomData, Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage userInfoMessage ) : Mindscape.Raygun4Net.Messages.RaygunMessage
exception System.Exception
tags IList
userCustomData IDictionary
userInfoMessage Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage
Résultat Mindscape.Raygun4Net.Messages.RaygunMessage

BuildMessage() protected méthode

protected BuildMessage ( Exception exception, IList tags, IDictionary userCustomData, Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage userInfoMessage, System.DateTime currentTime ) : Mindscape.Raygun4Net.Messages.RaygunMessage
exception System.Exception
tags IList
userCustomData IDictionary
userInfoMessage Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage
currentTime System.DateTime
Résultat Mindscape.Raygun4Net.Messages.RaygunMessage

BuildMessage() protected méthode

protected BuildMessage ( Exception exception, IList tags, IDictionary userCustomData ) : Task
exception System.Exception
tags IList
userCustomData IDictionary
Résultat Task

CanSend() protected méthode

protected CanSend ( Exception exception ) : bool
exception System.Exception
Résultat bool

CanSend() protected méthode

protected CanSend ( Mindscape.Raygun4Net.Messages.RaygunMessage message ) : bool
message Mindscape.Raygun4Net.Messages.RaygunMessage
Résultat bool

CreateWebClient() protected méthode

protected CreateWebClient ( ) : WebClient
Résultat System.Net.WebClient

Detach() public static méthode

Detaches Raygun from listening to unhandled exceptions and unobserved task exceptions.
public static Detach ( ) : void
Résultat void

DetachCrashReporting() public static méthode

Detaches Raygun from listening to unhandled exceptions and unobserved task exceptions.
public static DetachCrashReporting ( ) : void
Résultat void

DetachPulse() public static méthode

Detaches Raygun from automatically sending session and view events to Raygun Pulse.
public static DetachPulse ( ) : void
Résultat void

FlagAsSent() protected méthode

protected FlagAsSent ( Exception exception ) : void
exception System.Exception
Résultat void

IgnoreCookieNames() public méthode

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.
public IgnoreCookieNames ( ) : void
Résultat void

IgnoreFormFieldNames() public méthode

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.
public IgnoreFormFieldNames ( ) : void
Résultat void

IgnoreHeaderNames() public méthode

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.
public IgnoreHeaderNames ( ) : void
Résultat void

IgnoreServerVariableNames() public méthode

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.
public IgnoreServerVariableNames ( ) : void
Résultat void

Initialize() public static méthode

Initializes the static RaygunClient with the given Raygun api key.
public static Initialize ( string apiKey ) : RaygunClient
apiKey string Your Raygun api key for this application.
Résultat RaygunClient

OnCustomGroupingKey() protected méthode

protected OnCustomGroupingKey ( Exception exception, RaygunMessage message ) : Task
exception Exception
message RaygunMessage
Résultat Task

OnSendingMessage() protected méthode

protected OnSendingMessage ( RaygunMessage raygunMessage ) : bool
raygunMessage RaygunMessage
Résultat bool

RaygunClient() public méthode

Initializes a new instance of the RaygunClient class.
public RaygunClient ( string apiKey ) : Foundation
apiKey string The API key.
Résultat Foundation

RaygunClient() public méthode

Initializes a new instance of the RaygunClient class. Uses the ApiKey specified in the config file.
public RaygunClient ( ) : System
Résultat System

RaygunClient() public méthode

public RaygunClient ( RaygunSettings settings, HttpContext context = null ) : System
settings RaygunSettings
context HttpContext
Résultat System

RaygunClient() public méthode

Initializes a new instance of the RaygunClient class.
public RaygunClient ( string apiKey ) : System
apiKey string The API key.
Résultat System

RemoveWrapperExceptions() public méthode

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).
public RemoveWrapperExceptions ( ) : void
Résultat void

Send() public méthode

Posts a RaygunMessage to the Raygun api endpoint.
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.
Résultat Task

Send() public méthode

Transmits an exception to Raygun.io synchronously, using the version number of the originating assembly.
public Send ( Exception exception ) : void
exception Exception The exception to deliver.
Résultat void

Send() public méthode

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.
public Send ( Exception exception, IList tags ) : void
exception Exception The exception to deliver.
tags IList A list of strings associated with the message.
Résultat void

Send() public méthode

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.
public Send ( Exception exception, IList tags, IDictionary userCustomData ) : void
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.
Résultat void

Send() public méthode

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.
public Send ( Exception exception, IList tags, IDictionary userCustomData, HttpContext context ) : void
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
Résultat void

Send() public méthode

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.
public Send ( Exception exception, IList tags, IDictionary userCustomData, RaygunIdentifierMessage userInfo ) : void
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.
Résultat void

Send() public méthode

Posts a RaygunMessage to the Raygun.io api endpoint.
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.
Résultat void

SendInBackground() public méthode

Asynchronously transmits a message to Raygun.
public SendInBackground ( Exception exception ) : Task
exception Exception The exception to deliver.
Résultat Task

SendInBackground() public méthode

Asynchronously transmits an exception to Raygun.
public SendInBackground ( Exception exception, IList tags ) : Task
exception Exception The exception to deliver.
tags IList A list of strings associated with the message.
Résultat Task

SendInBackground() public méthode

Asynchronously transmits an exception to Raygun.
public SendInBackground ( Exception exception, IList tags, IDictionary userCustomData ) : Task
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.
Résultat Task

SendInBackground() public méthode

Asynchronously transmits a message to Raygun.
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.
Résultat Task

SendInBackground() public méthode

Asynchronously transmits a message to Raygun.io.
public SendInBackground ( Exception exception ) : void
exception Exception The exception to deliver.
Résultat void

SendInBackground() public méthode

Asynchronously transmits a message to Raygun.io.
public SendInBackground ( Exception exception, IList tags ) : void
exception Exception The exception to deliver.
tags IList A list of strings associated with the message.
Résultat void

SendInBackground() public méthode

Asynchronously transmits a message to Raygun.io.
public SendInBackground ( Exception exception, IList tags, IDictionary userCustomData ) : void
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.
Résultat void

SendInBackground() public méthode

Asynchronously transmits an exception to Raygun.io.
public SendInBackground ( Exception exception, IList tags, IDictionary userCustomData, RaygunIdentifierMessage userInfo ) : void
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.
Résultat void

SendInBackground() public méthode

Asynchronously transmits a message to Raygun.io.
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.
Résultat void

SendPulseTimingEvent() public méthode

Sends a pulse timing event to Raygun. The message is sent on a background thread.
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.
Résultat void

SetCurrentContext() public méthode

public SetCurrentContext ( HttpContext request ) : RaygunClient
request HttpContext
Résultat RaygunClient

StripWrapperExceptions() protected méthode

protected StripWrapperExceptions ( Exception exception ) : IEnumerable
exception Exception
Résultat IEnumerable

Property Details

_requestMessageOptions protected_oe property

protected RaygunRequestMessageOptions _requestMessageOptions
Résultat RaygunRequestMessageOptions