Thread.GetCompressedStack Method ()

 
obsoleteCodeEntityM:System.Threading.CompressedStack.CaptureNote: 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: