Thread.CurrentContext Propriété

Définition

Obtient le contexte actuel dans lequel le thread s'exécute.

public:
 static property System::Runtime::Remoting::Contexts::Context ^ CurrentContext { System::Runtime::Remoting::Contexts::Context ^ get(); };
public static System.Runtime.Remoting.Contexts.Context CurrentContext { get; }
public static System.Runtime.Remoting.Contexts.Context CurrentContext { [System.Security.SecurityCritical] get; }
member this.CurrentContext : System.Runtime.Remoting.Contexts.Context
[<get: System.Security.SecurityCritical>]
member this.CurrentContext : System.Runtime.Remoting.Contexts.Context
Public Shared ReadOnly Property CurrentContext As Context

Valeur de propriété

Context

Context représentant le contexte actuel du thread.

Attributs

Exceptions

L'appelant n'a pas l'autorisation requise.

S’applique à