ThreadLocal<T>.IsValueCreated Proprietà

Definizione

Ottiene un valore che indica se l'oggetto Value è inizializzato sul thread corrente.

public:
 property bool IsValueCreated { bool get(); };
public bool IsValueCreated { get; }
member this.IsValueCreated : bool
Public ReadOnly Property IsValueCreated As Boolean

Valore della proprietà

Boolean

true se Value viene inizializzato sul thread corrente; in caso contrario, false.

Eccezioni

L’istanza di ThreadLocal<T> è stata eliminata.

Si applica a

Vedi anche