Skip to content

Latest commit

 

History

History
71 lines (47 loc) · 3 KB

choosing-correct-registration.md

File metadata and controls

71 lines (47 loc) · 3 KB
description ms.assetid ms.tgt_platform title ms.topic ms.date
WMI supports different threading models depending on how the provider is hosted and the type of provider functionality, such as Class or Property.
cce3faf5-7bfe-46fe-9205-57398ab9dae9
multiple
Choosing Correct Registration
article
05/31/2018

Choosing Correct Registration

WMI supports different threading models depending on how the provider is hosted and the type of provider functionality, such as Class or Property. For example, decoupled providers do not support all the types of provider functionality. For more information about different hosting models and how to configure them, see Provider Hosting and Security.

In-Process Providers

In-process providers run in a shared host process, Wmiprvse.exe. Most in-process provider types use the multithreaded apartment (MTA) model.

The MTA model is supported for the following types of provider functionality:

The single-threaded apartment (STA) model is supported for some types of provider functionality:

Out-of-Process Providers

Providers that are hosted in a different shared service host support the following provider functionality:

For more information about shared service hosts, see Provider Hosting and Security.

Decoupled Providers

Decoupled providers are hosted in an application. For more information, see Incorporating a Provider in an Application. Providers created using WMI in the .NET Framework are decoupled. Decoupled providers support the following provider functionality:

Related topics

Developing a WMI Provider

Provider Hosting and Security