Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public:
[SecurityCriticalAttribute]
[ObsoleteAttribute("Thread.SetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class")]
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:
© 2017 Microsoft