Thread.GetCompressedStack Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

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

Return Value

Type: System.Threading.CompressedStack

None.

Exception Condition
InvalidOperationException

In all cases.

This method is no longer supported.

SecurityCriticalAttribute

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
Show: