TelemetryPolicyFactory class

TelemetryPolicyFactory is a factory class helping generating TelemetryPolicy objects.

Constructors

TelemetryPolicyFactory(ITelemetryOptions)

Creates an instance of TelemetryPolicyFactory.

Methods

create(RequestPolicy, RequestPolicyOptions)

Constructor Details

TelemetryPolicyFactory(ITelemetryOptions)

Creates an instance of TelemetryPolicyFactory.

new TelemetryPolicyFactory(telemetry?: ITelemetryOptions)

Parameters

telemetry
ITelemetryOptions

Method Details

create(RequestPolicy, RequestPolicyOptions)

function create(nextPolicy: RequestPolicy, options: RequestPolicyOptions)

Parameters

nextPolicy

RequestPolicy

options

RequestPolicyOptions

Returns