RaygunFeatureUsageTrackingSession class¶
Defined in
Namespace: Splat
Assembly: Splat.Raygun.dll
Full name: Splat.RaygunFeatureUsageTrackingSession
Modifiers: public sealed
Summary¶
Represents a feature usage tracking session that reports feature usage events to Raygun.
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 RaygunFeatureUsageTrackingSession
class IFeatureUsageTrackingSession~Guid~ {
<>
}
IFeatureUsageTrackingSession~Guid~ <|.. RaygunFeatureUsageTrackingSession
class IFeatureUsageTrackingSession {
<>
}
IFeatureUsageTrackingSession <|.. RaygunFeatureUsageTrackingSession
class IDisposable {
<>
}
IDisposable <|.. RaygunFeatureUsageTrackingSession
Implements: IFeatureUsageTrackingSession
Remarks¶
This class is used to track the usage of a specific feature within an application and send usage events to Raygun for monitoring and analytics. Each session is associated with a unique feature reference and can be used to create sub-feature tracking sessions. Instances of this class are intended to be short-lived and disposed of when tracking is complete.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [RaygunFeatureUsageTrackingSession](# class for tracking usage of a specific feature as a root-level session. |
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 |