CorDebugHandleType Enumeration

Indicates the handle type.

Syntax

typedef enum CorDebugHandleType {  
    HANDLE_STRONG                  = 1,  
    HANDLE_WEAK_TRACK_RESURRECTION = 2  
} CorDebugHandleType;  

Members

Member Description
HANDLE_STRONG The handle is strong, which prevents an object from being reclaimed by garbage collection.
HANDLE_WEAK_TRACK_RESURRECTION The handle is weak, which does not prevent an object from being reclaimed by garbage collection.

The handle becomes invalid when the object is collected.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also