CompressedStack.GetCompressedStack Metodo

Definizione

Ottiene lo stack compresso per il thread corrente.

public:
 static System::Threading::CompressedStack ^ GetCompressedStack();
public static System.Threading.CompressedStack GetCompressedStack();
[System.Security.SecurityCritical]
public static System.Threading.CompressedStack GetCompressedStack();
static member GetCompressedStack : unit -> System.Threading.CompressedStack
[<System.Security.SecurityCritical>]
static member GetCompressedStack : unit -> System.Threading.CompressedStack
Public Shared Function GetCompressedStack () As CompressedStack

Valori restituiti

Oggetto CompressedStack per il thread corrente.

Attributi

Eccezioni

Un chiamante nella catena di chiamate non dispone dell'autorizzazione per accedere al codice non gestito.

oppure

Richiesta di StrongNameIdentityPermission non riuscita.

Commenti

Se la sicurezza è abilitata, viene restituito lo stack compresso corrente. Se la sicurezza è disabilitata, GetCompressedStack restituisce un oggetto vuoto CompressedStack .

Si applica a