CorThreadSafetyOptions Enumeration

Specifies flags to select options for thread safety.

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 .NET Framework System Requirements.

Header: CorHdr.h

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Other Resources

Metadata Enumerations