ExceptionlessFeatureUsageTrackingSession class¶
Defined in
Namespace: Splat
Assembly: Splat.Exceptionless.dll
Full name: Splat.ExceptionlessFeatureUsageTrackingSession
Modifiers: public sealed
Summary¶
Represents a feature usage tracking session that reports usage and exceptions to Exceptionless using unique
identifiers for each feature instance.
Applies to
net10.0, net9.0, net8.0, net462, net481
Class hierarchy
classDiagram
class ExceptionlessFeatureUsageTrackingSession
class IFeatureUsageTrackingSession~Guid~ {
<>
}
IFeatureUsageTrackingSession~Guid~ <|.. ExceptionlessFeatureUsageTrackingSession
class IFeatureUsageTrackingSession {
<>
}
IFeatureUsageTrackingSession <|.. ExceptionlessFeatureUsageTrackingSession
class IDisposable {
<>
}
IDisposable <|.. ExceptionlessFeatureUsageTrackingSession
Implements: IFeatureUsageTrackingSession
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¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [ExceptionlessFeatureUsageTrackingSession](# class. |
Properties¶
| Name | Summary |
|---|---|
| ParentReference | Gets the unique reference for the Parent Tracking Session, if any. |
| FeatureReference | Gets the current Feature Usage Unique Reference. |
| FeatureName | Gets the name of the Feature being tracked. |
Methods¶
| Name | Summary |
|---|---|
| SubFeature | Creates a new sub-feature tracking session with the specified description. |
| OnException | Notify the APM toolset an exception has occurred in the current tracking session. |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |