Skip to content

AppCenterFeatureUsageTrackingSession.SubFeature(string) method

Defined in

Type: AppCenterFeatureUsageTrackingSession Namespace: Splat Assembly: Splat.AppCenter.dll

Applies to

net11.0, net11.0-windows10.0.19041, net11.0-tvos26.5, net11.0-maccatalyst26.5, net11.0-ios26.5, net11.0-macos26.5, net11.0-android37.0, net10.0, net10.0-windows10.0.17763, net10.0-macos26.0, net10.0-tvos26.0, net10.0-maccatalyst26.0, net10.0-android36.0, net10.0-ios26.0, net10.0-windows10.0.19041, net472, 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.