共用方式為


ITelemetryIdProvider<TId>.TryGetTelemetryId(TId) Method

Definition

Tries to get a unique ID for telemetry purposes.

public:
 bool TryGetTelemetryId([Runtime::InteropServices::Out] TId % telemetryId);
public bool TryGetTelemetryId (out TId telemetryId);
abstract member TryGetTelemetryId : 'Id -> bool
Public Function TryGetTelemetryId (ByRef telemetryId As TId) As Boolean

Parameters

telemetryId
TId

Returns

true if a unique telemetry ID was returned, false if this object refuses to participate in telemetry logging.

Applies to