Argomento precedente: Contract Metric Registration Methods

Argomento successivo: UpdateContractMetricRegistration

AddContractMetricRegistration

Description

This method creates an event registration for the specified contract metric.

Syntax

void AddContractMetricRegistration (long metricID, MetricRegistrationData metricRegistrationData);

Parameters

Name

Type

Description

metricID

long

The ID of the metric.

metricRegistrationData

MetricRegistrationData

The data to use to create the registration.

Return Value

None.

Remarks

The ID of the newly created registration can be obtained as part of the metric’s registration collection, by invoking GetContractMetricRegistrations.