Microsoft.AppCenter.Crashes
Exception type thrown for testing purposes. See .
Deserialization constructor. Not intended for public use.
Initializes a new instance of the TestCrashException class with a predefined error message.
ErrorLogHelper to help constructing, serializing, and de-serializing locally stored error logs.
Error log file extension for the JSON schema.
Error log file extension for the serialized exception for client side inspection.
Error log directory within application files.
Device information utility. Exposed for testing purposes only.
Process information utility. Exposed for testing purposes only.
Directory containing crashes files. Exposed for testing purposes only.
Static lock object.
Singleton instance. Should only be accessed from unit tests.
Public constructor for testing purposes.
Creates an error log for the given exception object.
The exception.
A new error log instance.
Gets all files with the error log file extension in the error directory.
Gets the error storage directory, or creates it if it does not exist.
The error storage directory.
Gets the error log file with the given ID.
The ID for the error log.
The error log file or null if it is not found.
Gets the exception file with the given ID.
The ID for the exception.
The exception file or null if it is not found.
Reads an error log on disk.
The error log file.
The managed error log instance.
Reads an exception on disk.
The exception file.
The exception stack trace.
Saves an error log and an exception on disk.
The exception that caused the crash.
The error log.
Deletes an error log from disk.
The ID for the error log.
Deletes an exception from disk.
The ID for the exception.
Removes all stored error log files.
Reads an error log file from the given file.
The file that contains error log.
An error log instance or null if the file doesn't contain an error log.
Reads an exception file from the given file.
The file that contains exception.
An exception stack trace or null if the file cannot be read.
Saves an error log and an exception on disk.
Get the error storage directory, or creates it if it does not exist.
The error storage directory.
Saves an error log on disk.
The exception that caused the crash.
The error log.
Gets a file from storage with the given ID and extension.
The error ID.
The file extension.
The file corresponding to the given parameters, or null if not found.
Utility to get information about the current process. Has different implementations on different platforms. Some information will be unavailable on certain platforms.
Gets the start time of the current process.
Gets the ID of the current process.
Gets the name of the current process.
Gets the ID of the parent process.
Gets the name of the parent process.
Gets the CPU architecture that the current process is running on.
Crashes service.
Log tag used by the Crashes component.
Occurs when an error report is about to be sent.
Occurs when an error report has been successfully sent.
Occurs when an error report has failed to be sent.
Set this callback to add custom behavior for determining whether an error report should be processed.
Returning false prevents the crash from being reported to the server.
Set this callback to add custom behavior for determining whether user confirmation is required to send
error reports.
Set this callback to attach custom text and/or binaries to an error report.
Notifies SDK with a confirmation to handle the crash report.
A user confirmation. See .
Check whether the Crashes service is enabled or not.
A task with result being true if enabled, false if disabled.
Enable or disable the Crashes service.
A task to monitor the operation.
Provides information whether the app crashed in its last session.
Task with result being true if a crash was recorded in the last session, otherwise false.
Gets the crash report generated in the last session if there was a crash.
Crash report from the last session, null if there was no crash in the last session.
Provides information whether the app received memory warning in its last session.
Task with result being true if a memory warning was recorded in the last session, otherwise false
Generates crash for testing purposes.
This call has no effect in non debug configuration (such as release).
Track a handled error.
The .NET exception describing the handled error.
Optional properties.
Optional attachments.
Unique instance.
A dictionary that contains unprocessed managed error logs before getting a user confirmation.
A dictionary for a cache that contains error report.
A task of processing pending error log files.
Method that is called to signal start of Crashes service.
Channel group
App secret
Crashes SDK module.
Event arguments base class for all events that involve an error report.
The error report associated with the event.
Event arguments class for event .
Event arguments class for event .
Event arguments class for event .
The native exception associated with the failure.
Callback type for determining whether a particular error report should be processed.
true if report should be processed.
The error report that is being considered for processing.
Callback type for getting error attachments for a particular error report.
The error attachments to be associated with report.
The error report for which error attachments are to be returned.
Determine whether user confirmation is required to process a report. must be called by yourself./>
true if sending reports should be confirmed by a user.
Handler type for event .
This parameter will be null when being sent from the class and should be ignored.
Event arguments. See for more details.
Handler type for event .
This parameter will be null when being sent from the class and should be ignored.
Event arguments. See for more details.
Handler type for event .
This parameter will be null when being sent from the class and should be ignored.
Event arguments. See for more details.
Error report containing information about a particular crash.
Error report containing information about a particular crash.
Gets the report identifier.
UUID for the report.
Gets the app start time.
Date and time the app started
Gets the app error time.
Date and time the error occured
Gets the device that the crashed app was being run on.
Device information at the crash time.
Gets the C# Exception object that caused the crash.
The exception.
Gets the C# exception stack trace captured at crash time.
The exception.
Gets details specific to Android.
Android error report details. null if the OS is not Android.
Gets details specific to iOS.
iOS error report details. null if the OS is not iOS.
Creates a new error report.
The managed error log.
The associated exception stack trace.
Error report details pertinent only to devices running Android.
Gets the throwable associated with the Java crash.
The throwable associated with the crash. null if the crash occured in .NET code.
Gets the stack trace associated with the Java crash.
The stack trace associated with the crash. null if the crash occured in .NET code.
Gets the name of the thread that crashed.
The name of the thread that crashed.
Error report details pertinent only to devices running iOS.
Gets the reporter key.
UUID for the app installation on the device.
Gets the signal that caused the crash.
The signal that caused the crash.
Gets the name of the exception that triggered the crash, null if the crash was not triggered by an
exception.
The name of the exception that triggered the crash.
Gets the reason for the exception that triggered the crash, null if the crash was not triggered by an
exception.
The reason for the exception causing the crash.
Gets the identifier of the app process that crashed.
The app process identifier.
User confirmation options for whether to send crash reports.
Do not send the crash report
Send the crash report
Send all crash reports
Error attachment for error report.
Error attachment log.
Builds an attachment with text suitable for using in .
Error attachment or null if null text is passed.
Text to attach to the error report.
File name to use on reports.
Builds an attachment with binary suitable for using in .
Error attachment or null if null data is passed.
Binary data.
File name to use on reports.
Data MIME type.
Gets or sets error attachment identifier.
Gets or sets error log identifier to attach this log to.
Gets or sets content type (text/plain for text).
Gets or sets file name.
Gets or sets data encoded as base 64.
Validate the object.
Thrown if validation fails
Check all required fields are present.
True if all required fields are present.
Abstract error log.
Initializes a new instance of the AbstractErrorLog class.
Initializes a new instance of the AbstractErrorLog class.
Error identifier.
Process identifier.
Process name.
If true, this error report is an application
crash.
Corresponds to the number of milliseconds elapsed between the time
the error occurred and the app was launched.
Log timestamp, example:
'2017-03-13T18:05:42Z'.
When tracking an analytics session, logs can be
part of the session by specifying this identifier.
This attribute is optional, a missing value means the session
tracking is disabled (like when using only error reporting
feature).
Concrete types like StartSessionLog or PageLog are always part of a
session and always include this identifier.
optional string used for associating logs with
users.
Parent's process identifier.
Parent's process name.
Error thread identifier.
Error thread name.
Timestamp when the app was
launched, example: '2017-03-13T18:05:42Z'.
CPU architecture.
Gets or sets error identifier.
Gets or sets process identifier.
Gets or sets process name.
Gets or sets parent's process identifier.
Gets or sets parent's process name.
Gets or sets error thread identifier.
Gets or sets error thread name.
Gets or sets if true, this error report is an application crash.
Corresponds to the number of milliseconds elapsed between the time
the error occurred and the app was launched.
Gets or sets timestamp when the app was launched, example:
'2017-03-13T18:05:42Z'.
Gets or sets CPU architecture.
Validate the object.
Thrown if validation fails
Binary (library) definition for any platform.
Initializes a new instance of the Binary class.
Initializes a new instance of the Binary class.
CPU primary
architecture.
CPU architecture
variant.
Gets or sets CPU primary architecture.
Gets or sets CPU architecture variant.
Validate the object.
Thrown if validation fails
Exception definition for any platform.
Initializes a new instance of the Exception class.
Initializes a new instance of the Exception class.
Exception type.
Exception reason.
Raw stack trace. Sent when the frames
property is either missing or unreliable.
Stack frames. Optional.
Inner exceptions of this
exception.
Name of the wrapper SDK that emitted
this exeption. Consists of the name of the SDK and the wrapper
platform, e.g. "appcenter.xamarin", "hockeysdk.cordova".
Gets or sets exception type.
Gets or sets exception reason.
Gets or sets raw stack trace. Sent when the frames property is
either missing or unreliable.
Gets or sets stack frames. Optional.
Gets or sets inner exceptions of this exception.
Gets or sets name of the wrapper SDK that emitted this exeption.
Consists of the name of the SDK and the wrapper platform, e.g.
"appcenter.xamarin", "hockeysdk.cordova".
Validate the object.
Thrown if validation fails
Handled Error log for managed platforms (such as Xamarin, Unity,
Android Dalvik/ART)
Initializes a new instance of the HandledErrorLog class.
Initializes a new instance of the HandledErrorLog class.
Log timestamp, example:
'2017-03-13T18:05:42Z'.
When tracking an analytics session, logs can be
part of the session by specifying this identifier.
This attribute is optional, a missing value means the session
tracking is disabled (like when using only error reporting
feature).
Concrete types like StartSessionLog or PageLog are always part of a
session and always include this identifier.
optional string used for associating logs with
users.
Additional key/value pair parameters.
Unique identifier for this Error.
Gets or sets unique identifier for this Error.
Validate the object.
Thrown if validation fails
Error log for managed platforms (such as Android Dalvik/ART).
Initializes a new instance of the ManagedErrorLog class.
Initializes a new instance of the ManagedErrorLog class.
Error identifier.
Process identifier.
Process name.
If true, this error report is an application
crash.
Corresponds to the number of milliseconds elapsed between the time
the error occurred and the app was launched.
Log timestamp, example:
'2017-03-13T18:05:42Z'.
When tracking an analytics session, logs can be
part of the session by specifying this identifier.
This attribute is optional, a missing value means the session
tracking is disabled (like when using only error reporting
feature).
Concrete types like StartSessionLog or PageLog are always part of a
session and always include this identifier.
optional string used for associating logs with
users.
Parent's process identifier.
Parent's process name.
Error thread identifier.
Error thread name.
Timestamp when the app was
launched, example: '2017-03-13T18:05:42Z'.
CPU architecture.
Unique ID for a Xamarin build or another
similar technology.
Gets or sets unique ID for a Xamarin build or another similar
technology.
Validate the object.
Thrown if validation fails
Stack frame definition for any platform.
Initializes a new instance of the StackFrame class.
Initializes a new instance of the StackFrame class.
Frame address.
Symbolized code line
The fully qualified name of the Class
containing the execution point represented by this stack trace
element.
The name of the method containing the
execution point represented by this stack trace element.
The line number of the source line
containing the execution point represented by this stack trace
element.
The name of the file containing the
execution point represented by this stack trace element.
Gets or sets frame address.
Gets or sets symbolized code line
Gets or sets the fully qualified name of the Class containing the
execution point represented by this stack trace element.
Gets or sets the name of the method containing the execution point
represented by this stack trace element.
Gets or sets the line number of the source line containing the
execution point represented by this stack trace element.
Gets or sets the name of the file containing the execution point
represented by this stack trace element.
This class is a data-only holder for the model exception and binary sent with error logs. A simple pair cannot be used because value tuples require an additional dependency in UWP.