Class DefaultFeatureUsageTrackingSession
- Namespace
- Splat.Application
Performance Monitoring
- Assembly
- Splat.dll
Default Feature Usage Tracking Session. Used for output when a dev chooses not to override.
public sealed class DefaultFeatureUsageTrackingSession : IFeatureUsageTrackingSession<Guid>, IFeatureUsageTrackingSession, IDisposable, IEnableLogger
- Inheritance
-
Default
Feature Usage Tracking Session
- Implements
-
IEnable
Logger
- Extension Methods
Constructors
DefaultFeatureUsageTrackingSession(string)
Initializes a new instance of the Default
Parameters
featureNamestringThe name of the feature.
Properties
FeatureName
Gets the name of the Feature being tracked.
Property Value
FeatureReference
Gets the current Feature Usage Unique Reference.
Property Value
ParentReference
Gets the unique reference for the Parent Tracking Session, if any.
Property Value
Methods
Dispose()
OnException(Exception)
Notify the APM toolset an exception has occurred in the current tracking session.
Parameters
exceptionExceptionThe exception that occurred.
SubFeature(string)
Starts a sub-feature usage tracking session on the current session.
Parameters
descriptionstringDescription of the sub-feature.
Returns
- IFeature
Usage Tracking Session The sub-feature usage tracking session.