Thread.GetCompressedStack Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Let op
Thread.GetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class
Retourneert een CompressedStack object dat kan worden gebruikt om de stack voor de huidige thread vast te leggen.
public:
System::Threading::CompressedStack ^ GetCompressedStack();
public System.Threading.CompressedStack GetCompressedStack();
[System.Obsolete("Thread.GetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class")]
public System.Threading.CompressedStack GetCompressedStack();
[System.Obsolete("Thread.GetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class")]
[System.Security.SecurityCritical]
public System.Threading.CompressedStack GetCompressedStack();
member this.GetCompressedStack : unit -> System.Threading.CompressedStack
[<System.Obsolete("Thread.GetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class")>]
member this.GetCompressedStack : unit -> System.Threading.CompressedStack
[<System.Obsolete("Thread.GetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class")>]
[<System.Security.SecurityCritical>]
member this.GetCompressedStack : unit -> System.Threading.CompressedStack
Public Function GetCompressedStack () As CompressedStack
Retouren
- Kenmerken
Uitzonderingen
In alle gevallen.
Opmerkingen
Caution
Cas (Code Access Security) is afgeschaft in alle versies van .NET Framework en .NET. Recente versies van .NET respecteren geen CAS-aantekeningen en produceren fouten als CAS-gerelateerde API's worden gebruikt. Ontwikkelaars moeten alternatieve manieren zoeken om beveiligingstaken uit te voeren.
Deze methode wordt niet meer ondersteund.