5 references to GetCurrentThread
System.ServiceModel (5)
System\ServiceModel\ComIntegration\ComPlusAuthorization.cs (2)
105if (!SafeNativeMethods.ImpersonateAnonymousUserOnCurrentThread(SafeNativeMethods.GetCurrentThread())) 112bool isSuccess = SafeNativeMethods.OpenCurrentThreadToken(SafeNativeMethods.GetCurrentThread(), TokenAccessLevels.Query, true, out tokenHandle);
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (2)
491IntPtr threadHandle = SafeNativeMethods.GetCurrentThread(); 532Fx.Assert(this.threadHandle == SafeNativeMethods.GetCurrentThread(), "");
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
1069SafeNativeMethods.GetCurrentThread(),