Skip to main content

ITelemetryCollectorHolder Methods

An object defining methods for the ITelemetryCollectorHolder class.

StartActivity(name, startOptions)

Starts a new telemetry activity with the given name and optional start options.

Parameters:

name (required): string
The name of the activity.

startOptions (optional): ActivityStartOptions
ActivityStartOptions specifying additional configuration for the activity.

Returns:

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.