ApplicationInsightsFeatureUsageTrackingSession.SubFeature(string) method¶
Defined in
Type: ApplicationInsightsFeatureUsageTrackingSession
Namespace: Splat.ApplicationInsights
Assembly: Splat.ApplicationInsights.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
public IFeatureUsageTrackingSession SubFeature(string description)
Inherited documentation
These docs were inherited from IFeatureUsageTrackingSession. The member doesn't override them on this type.
Summary: Creates a new sub-feature tracking session with the specified description.
Parameters
| Name | Type | Description |
|---|---|---|
description | string | A string that describes the sub-feature to be tracked. Cannot be null or empty. |
Returns: IFeatureUsageTrackingSession -- An IFeatureUsageTrackingSession instance for tracking usage of the specified sub-feature.
Remarks
Use sub-feature tracking sessions to record usage metrics for distinct operations or components within a larger feature. Each sub-feature session is independent and should be disposed when tracking is complete.