Class RaygunFeatureUsageTrackingSession
- Namespace
- Splat
- Assembly
- Splat.Raygun.dll
Feature Usage Tracking integration for Raygun.
public sealed class RaygunFeatureUsageTrackingSession : IFeatureUsageTrackingSession<Guid>, IFeatureUsageTrackingSession, IDisposable
- Inheritance
-
Raygun
Feature Usage Tracking Session
- Implements
- Extension Methods
Constructors
RaygunFeatureUsageTrackingSession(string, RaygunClient, RaygunSettings)
Initializes a new instance of the Raygun
public RaygunFeatureUsageTrackingSession(string featureName, RaygunClient raygunClient, RaygunSettings raygunSettings)
Parameters
featureName
stringName of the feature.
raygunClient
RaygunClient Raygun client instance.
raygunSettings
RaygunSettings Raygun settings instance.
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 occured in the current tracking session.
Parameters
exception
ExceptionThe exception that occurred.
SubFeature(string)
Starts a sub-feature usage tracking session on the current session.
Parameters
description
stringDescription of the sub-feature.
Returns
- IFeature
Usage Tracking Session The sub-feature usage tracking session.