Skip to content

TTMSFNCCloudExceptionless

Usage

TTMSFNCCloudExceptionless is a component that provides access to the Exceptionless API which is capable of managing exceptions and log messages.

Authorization information

Email address and password

Properties

Property name Description
EmailAddress: String The email address of the user to authenticate.
Password: String The password of the user to authenticate.
Projects: TTMSFNCCloudExceptionlessProjects [TTMSFNCCloudExceptionlessProject] Contains the different projects that you have set up in Exceptionless. These projects each have different stacks (TTMSFNCCloudExceptionlessStacks) in the property Stacks. This is a group of exceptions and messages with the same parameters and can be requested in the same way as the Projects on TTMSFNCCloudExceptionlessProject level. These stacks in turn have the property Events (TTMSFNCCloudExceptionlessEvents), which is a collection of the exceptions and messages and can be retrieved in the same way on TTMSFNCCloudExceptionlessStack level.
ProjectPage: Integer The page number to add to the GetProjects method to retrieve the following projects.

Methods

Method name Description
Connect Retrieve the necessary authentication tokens to use the API. (Has the possibility to add email address and password as parameters in case they are not set via the properties.)
GetProjects/GetAllProjects Retrieve (all) the projects for the account. The procedure fills the Projects (TTMSFNCCloudExceptionlessProjects) property.
GetProjectByID Retrieve the TTMSFNCCloudExceptionlessProject object that has the requested ID.
GetProjectByName Retrieve the TTMSFNCCloudExceptionlessProject object that has the requested name.
GetStackByID Retrieve the TTMSFNCCloudExceptionlessStack object that has the requested ID.
LogException Sends an exception to the project with a message and an error type. Can be extended with an optional source, stacktrace, level and timestamp. (It is not necessary to retrieve the requested project first, if you are connected and you have the ID of the Project, you can immediately log an exception.)
LogMessage Sends a message to the project. Can be extended with an optional source, timestamp and level. (It is not necessary to retrieve the requested project first, if you are connected and you have the ID of the Project, you can immediately log a message.)

Events

Event name Description
OnConnected Event fired when the authorization token was retrieved.
OnGetProjects/OnGetAllProjects Event fired when the/all requested projects for the account are retrieved. This event returns additional to the sender and the request result also the Projects (TTMSFNCCloudExceptionlessProjects).
OnGetStacks/OnGetAllStacks Event fired when the/all requested stacks from a project are retrieved. This event returns additional to the sender and the request result also the project for which it was returned and the list of stacks (TTMSFNCCloudExceptionlessStacks).
OnGetEvents/OnGetAllEvents Event fired when the requested events for a stack are retrieved. This event returns additional to the sender and the request result also the stack of the project (TTMSFNCCloudExceptionlessStack) and the requested events (TTMSFNCCloudExceptionlessEvents).
OnLogException Event fired when the created exception is sent to the project. This event returns the sender and the request result.
OnLogMessage Event fired when the created exception is sent to the project. This event returns the sender and the request result.