Lazy<(Of <(T, TMetadata>)>) Constructor (TMetadata, Boolean)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the Lazy<(Of <(T, TMetadata>)>) class with the specified metadata and thread safety mode.
Namespace: System
Assembly: mscorlib.Extensions (in mscorlib.Extensions.dll)
Syntax
Public Sub New ( _
metadata As TMetadata, _
isThreadSafe As Boolean _
)
public Lazy(
TMetadata metadata,
bool isThreadSafe
)
Parameters
- metadata
Type: TMetadata
The metadata.
- isThreadSafe
Type: System..::.Boolean
true to make this instance usable concurrently by multiple threads; false to make the instance usable by only one thread at a time.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0
See Also
Reference
Lazy<(Of <(T, TMetadata>)>) Class