Skip to content

ExceptionlessFeatureUsageTrackingSession.SubFeature(string) method

Defined in

Type: ExceptionlessFeatureUsageTrackingSession Namespace: Splat Assembly: Splat.Exceptionless.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 IFeatureUsageTrackingSession SubFeature(string description)

View source

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

NameTypeDescription
descriptionstringA 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.