Thread.GetCompressedStack Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

obsoleteCodeEntityM:System.Threading.CompressedStack.Capture Note: This API is now obsolete.

Returns a CompressedStack object that can be used to capture the stack for the current thread.

Namespace:   System.Threading
Assembly:  mscorlib (in mscorlib.dll)

[ObsoleteAttribute("Thread.GetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class")]
public CompressedStack GetCompressedStack()

Return Value

Type: System.Threading.CompressedStack


Exception Condition

In all cases.

This method is no longer supported.


Requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

.NET Framework
Available since 1.1
Return to top