C# Класс Mindscape.Raygun4Net.RaygunClient

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_requestMessageOptions RaygunRequestMessageOptions

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddWrapperExceptions() публичный Метод

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
Результат void

Attach() публичный статический Метод

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.
Результат void

Attach() публичный статический Метод

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.
Результат void

Attach() публичный статический Метод

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.
Результат void

Attach() публичный статический Метод

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.
Результат void

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.
public AttachCrashReporting ( ) : RaygunClient
Результат RaygunClient

AttachCrashReporting() публичный Метод

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.
Результат RaygunClient

AttachPulse() публичный Метод

Causes Raygun to automatically send session and view events for Raygun Pulse.
public AttachPulse ( ) : RaygunClient
Результат RaygunClient

AttachPulse() публичный Метод

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.
Результат RaygunClient

BuildMessage() защищенный Метод

protected BuildMessage ( Exception exception, IList tags, IDictionary userCustomData ) : Mindscape.Raygun4Net.Messages.RaygunMessage
exception System.Exception
tags IList
userCustomData IDictionary
Результат Mindscape.Raygun4Net.Messages.RaygunMessage

BuildMessage() защищенный Метод

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
Результат Mindscape.Raygun4Net.Messages.RaygunMessage

BuildMessage() защищенный Метод

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
Результат Mindscape.Raygun4Net.Messages.RaygunMessage

BuildMessage() защищенный Метод

protected BuildMessage ( Exception exception, IList tags, IDictionary userCustomData ) : Task
exception System.Exception
tags IList
userCustomData IDictionary
Результат Task

CanSend() защищенный Метод

protected CanSend ( Exception exception ) : bool
exception System.Exception
Результат bool

CanSend() защищенный Метод

protected CanSend ( Mindscape.Raygun4Net.Messages.RaygunMessage message ) : bool
message Mindscape.Raygun4Net.Messages.RaygunMessage
Результат bool

CreateWebClient() защищенный Метод

protected CreateWebClient ( ) : WebClient
Результат System.Net.WebClient

Detach() публичный статический Метод

Detaches Raygun from listening to unhandled exceptions and unobserved task exceptions.
public static Detach ( ) : void
Результат void

DetachCrashReporting() публичный статический Метод

Detaches Raygun from listening to unhandled exceptions and unobserved task exceptions.
public static DetachCrashReporting ( ) : void
Результат void

DetachPulse() публичный статический Метод

Detaches Raygun from automatically sending session and view events to Raygun Pulse.
public static DetachPulse ( ) : void
Результат void

FlagAsSent() защищенный Метод

protected FlagAsSent ( Exception exception ) : void
exception System.Exception
Результат void

IgnoreCookieNames() публичный Метод

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
Результат void

IgnoreFormFieldNames() публичный Метод

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
Результат void

IgnoreHeaderNames() публичный Метод

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
Результат void

IgnoreServerVariableNames() публичный Метод

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
Результат void

Initialize() публичный статический Метод

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.
Результат RaygunClient

OnCustomGroupingKey() защищенный Метод

protected OnCustomGroupingKey ( Exception exception, RaygunMessage message ) : Task
exception Exception
message RaygunMessage
Результат Task

OnSendingMessage() защищенный Метод

protected OnSendingMessage ( RaygunMessage raygunMessage ) : bool
raygunMessage RaygunMessage
Результат bool

RaygunClient() публичный Метод

Initializes a new instance of the RaygunClient class.
public RaygunClient ( string apiKey ) : Foundation
apiKey string The API key.
Результат Foundation

RaygunClient() публичный Метод

Initializes a new instance of the RaygunClient class. Uses the ApiKey specified in the config file.
public RaygunClient ( ) : System
Результат System

RaygunClient() публичный Метод

public RaygunClient ( RaygunSettings settings, HttpContext context = null ) : System
settings RaygunSettings
context HttpContext
Результат System

RaygunClient() публичный Метод

Initializes a new instance of the RaygunClient class.
public RaygunClient ( string apiKey ) : System
apiKey string The API key.
Результат System

RemoveWrapperExceptions() публичный Метод

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
Результат void

Send() публичный Метод

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.
Результат Task

Send() публичный Метод

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.
Результат void

Send() публичный Метод

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.
Результат void

Send() публичный Метод

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.
Результат void

Send() публичный Метод

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
Результат void

Send() публичный Метод

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.
Результат void

Send() публичный Метод

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.
Результат void

SendInBackground() публичный Метод

Asynchronously transmits a message to Raygun.
public SendInBackground ( Exception exception ) : Task
exception Exception The exception to deliver.
Результат Task

SendInBackground() публичный Метод

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.
Результат Task

SendInBackground() публичный Метод

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.
Результат Task

SendInBackground() публичный Метод

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.
Результат Task

SendInBackground() публичный Метод

Asynchronously transmits a message to Raygun.io.
public SendInBackground ( Exception exception ) : void
exception Exception The exception to deliver.
Результат void

SendInBackground() публичный Метод

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.
Результат void

SendInBackground() публичный Метод

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.
Результат void

SendInBackground() публичный Метод

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.
Результат void

SendInBackground() публичный Метод

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.
Результат void

SendPulseTimingEvent() публичный Метод

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.
Результат void

SetCurrentContext() публичный Метод

public SetCurrentContext ( HttpContext request ) : RaygunClient
request HttpContext
Результат RaygunClient

StripWrapperExceptions() защищенный Метод

protected StripWrapperExceptions ( Exception exception ) : IEnumerable
exception Exception
Результат IEnumerable

Описание свойств

_requestMessageOptions защищенное свойство

protected RaygunRequestMessageOptions _requestMessageOptions
Результат RaygunRequestMessageOptions