Freigeben über


LivingObjectRecord<T> Class

Definition

Generic way to get diagnostic information about living objects of a specific type T

generic <typename T>
 where T : classpublic ref class LivingObjectRecord sealed : Microsoft::VisualStudio::Utilities::LivingObjectRecord
public sealed class LivingObjectRecord<T> : Microsoft.VisualStudio.Utilities.LivingObjectRecord where T : class
type LivingObjectRecord<'T (requires 'T : null)> = class
    inherit LivingObjectRecord
Public NotInheritable Class LivingObjectRecord(Of T)
Inherits LivingObjectRecord

Type Parameters

T
Inheritance
LivingObjectRecord<T>

Constructors

LivingObjectRecord<T>(T, String, String, Boolean, String)

Constructor to create a record of the living object in memory.

Properties

Description
HasProbablyLeaked
Identifier
LivingObject

The object being leaked. Do not pass to telemetry directly as it may contain PII. Not suitable for telemetry. Used by partners or tests. Please note if the actual object represented by the weak reference should be held for a very short time for test or telemetry purposes only.

Preview

Applies to