ThreadLocal<T>.IsValueCreated Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient si Value elle est initialisée sur le thread actuel.
public:
property bool IsValueCreated { bool get(); };
public bool IsValueCreated { get; }
member this.IsValueCreated : bool
Public ReadOnly Property IsValueCreated As Boolean
Valeur de propriété
true si Value elle est initialisée sur le thread actuel ; sinon false.
Exceptions
L’instance ThreadLocal<T> a été supprimée.