ThreadLocal<T>.IsValueCreated Propriété

Définition

Obtient une valeur qui indique si Value est initialisé 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é

Boolean

True si Value est initialisé sur le thread actuel ; sinon, false.

Exceptions

L’instance ThreadLocal<T> a été supprimée.

S’applique à

Voir aussi