CorThreadSafetyOptions Enumeration

Specifies flags to select options for thread safety.

Syntax

typedef enum CorThreadSafetyOptions {  
    MDThreadSafetyDefault       = 0x00000000,  
    MDThreadSafetyOff           = 0x00000000,  
    MDThreadSafetyOn            = 0x00000001,  
} CorThreadSafetyOptions;  

Members

Member Description
MDThreadSatetyDefault Default value. Same as MDThreadSatetyOff.
MDThreadSatetyOff Indicates that a reader/writer lock cannot be set.
MDThreadSatetyOn Indicates that a reader/writer lock can be set.

Requirements

Platforms: See System Requirements.

Header: CorHdr.h

.NET Framework Versions: Available since 1.0

See Also

Metadata Enumerations