ThreadLocal<T>.IsValueCreated Proprietà

Definizione

Ottiene un valore che indica se Value l'inizializzazione viene eseguita nel 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à

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

Eccezioni

L'istanza ThreadLocal<T> è stata eliminata.

Si applica a

Vedi anche