COR_PRF_SNAPSHOT_INFO Enumeration

Specifies how much data to pass back with a stack snapshot in each call to the profiler's StackSnapshotCallback function.

Syntax

typedef enum _COR_PRF_SNAPSHOT_INFO {  
    COR_PRF_SNAPSHOT_DEFAULT = 0x0,  
    COR_PRF_SNAPSHOT_REGISTER_CONTEXT = 0x1,  
    COR_PRF_SNAPSHOT_X86_OPTIMIZED = 0X2  
} COR_PRF_SNAPSHOT_INFO;  

Members

Members Description
COR_PRF_SNAPSHOT_DEFAULT Indicates that values must be passed for all StackSnapshotCallback parameters, except the context parameter.
COR_PRF_SNAPSHOT_REGISTER_CONTEXT Indicates that values must be passed for all StackSnapshotCallback parameters, including the context parameter.
COR_PRF_SNAPSHOT_X86_OPTIMIZED Indicates that a simpler, alternative stack-walking algorithm will be used.

Remarks

Values that are provided by the COR_PRF_SNAPSHOT_INFO enumeration are passed as parameters to the DoStackSnapshot method.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See Also

DoStackSnapshot Method
Profiling Enumerations