9 references to MTAHelper
System.Management (9)
Instrumentation\EventSource.cs (1)
319
if (
MTAHelper
.IsNoContextMTA())
Instrumentation\Instrumentation.cs (1)
353
if(!
MTAHelper
.IsNoContextMTA()) // Bug#110141 - Checking for MTA is not enough. We need to make sure we are not in a COM+ Context
managementeventwatcher.cs (1)
656
if(
MTAHelper
.IsNoContextMTA()) // Bug#110141 - Checking for MTA is not enough. We need to make sure we are not in a COM+ Context
managementpath.cs (3)
252
IWbemPath wbemPath = (IWbemPath)
MTAHelper
.CreateInMTA(typeof(WbemDefPath));//new WbemDefPath();
640
wmiPath = (IWbemPath)
MTAHelper
.CreateInMTA(typeof(WbemDefPath));//new WbemDefPath ();
927
wmiPath = (IWbemPath)
MTAHelper
.CreateInMTA(typeof(WbemDefPath));//new WbemDefPath();
managementscope.cs (1)
1085
if(!
MTAHelper
.IsNoContextMTA()) // Bug#110141 - Checking for MTA is not enough. We need to make sure we are not in a COM+ Context
wmieventsink.cs (2)
52
if(
MTAHelper
.IsNoContextMTA()) // Bug#110141 - Checking for MTA is not enough. We need to make sure we are not in a COM+ Context
278
if(
MTAHelper
.IsNoContextMTA()) // Bug#110141 - Checking for MTA is not enough. We need to make sure we are not in a COM+ Context