Skip to content

RaygunFeatureUsageTrackingSession(string, RaygunClient, RaygunSettings) constructor

Defined in

Type: RaygunFeatureUsageTrackingSession Namespace: Splat Assembly: Splat.Raygun.dll

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

public RaygunFeatureUsageTrackingSession(string featureName, RaygunClient raygunClient, RaygunSettings raygunSettings)

View source

Summary: Initializes a new instance of the RaygunFeatureUsageTrackingSession class for tracking usage of a specific feature as a root-level session.

Parameters

NameTypeDescription
featureNamestringThe name of the feature to be tracked. Cannot be null or empty.
raygunClientRaygunClientThe RaygunClient instance used to send feature usage data. Cannot be null.
raygunSettingsRaygunSettingsThe RaygunSettings instance that configures feature usage tracking. Cannot be null.