Skip to content

ExceptionlessFeatureUsageTrackingSession class

Defined in

Namespace: Splat Assembly: Splat.Exceptionless.dll Full name: Splat.ExceptionlessFeatureUsageTrackingSession Modifiers: public sealed

Summary

View source

        Represents a feature usage tracking session that reports usage and exceptions to Exceptionless using unique
        identifiers for each feature instance.
        

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

Class hierarchy
classDiagram
class ExceptionlessFeatureUsageTrackingSession
class IFeatureUsageTrackingSession~Guid~ {
    <>
}
IFeatureUsageTrackingSession~Guid~ <|.. ExceptionlessFeatureUsageTrackingSession
class IFeatureUsageTrackingSession {
    <>
}
IFeatureUsageTrackingSession <|.. ExceptionlessFeatureUsageTrackingSession
class IDisposable {
    <>
}
IDisposable <|.. ExceptionlessFeatureUsageTrackingSession

Implements: IFeatureUsageTrackingSession, IFeatureUsageTrackingSession, IDisposable

Remarks

This class is used to track the usage of a specific feature within an application and to report exceptions that occur during the session. Each session is associated with a unique feature reference and can create sub-feature sessions for hierarchical tracking. Feature usage and exceptions are automatically submitted to Exceptionless upon session creation and when exceptions are reported. This class is not thread-safe and is intended for use within a single logical operation or request.

Constructors

NameSummary
.ctorInitializes a new instance of the [ExceptionlessFeatureUsageTrackingSession](# class.

Properties

NameSummary
ParentReferenceGets the unique reference for the Parent Tracking Session, if any.
FeatureReferenceGets the current Feature Usage Unique Reference.
FeatureNameGets the name of the Feature being tracked.

Methods

NameSummary
SubFeatureCreates a new sub-feature tracking session with the specified description.
OnExceptionNotify the APM toolset an exception has occurred in the current tracking session.
Dispose
Inherited members