Windows Dev Center

ThreadLocal<T>.IsValueCreated Property

Gets whether Value is initialized on the current thread.

Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)

public bool IsValueCreated { get; }

Property Value

Type: System.Boolean
true if Value is initialized on the current thread; otherwise false.

ExceptionCondition
ObjectDisposedException

The ThreadLocal<T> instance has been disposed.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2015 Microsoft