ITelemetryIdProvider<TId>.TryGetTelemetryId(TId) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.