SetCompressedStack Method

Thread.SetCompressedStack Method (CompressedStack)

 
obsoleteCodeEntityM:System.Threading.CompressedStack.Run(System.Threading.CompressedStack,System.Threading.ContextCallback,System.Object)Note: This API is now obsolete.

Applies a captured CompressedStack to the current thread.

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

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

Parameters

stack
Type: System.Threading.CompressedStack

The CompressedStack object to be applied to the current thread.

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:
© 2016 Microsoft