Thread.GetCompressedStack Methode

Definitie

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.

Van toepassing op