DkmGlobalSettings.IsInWorkerProcess Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true when called from a worker process. Worker processes are used to load IDE-side Concord components outside of the IDE process.
Components will load into worker processes only if:
- They have opt-into loading there by setting 'WorkerProcessSupported' in their .vsdconfigxml file -and-
- The object parameter of whatever interface they are implementing has an associated DkmWorkerProcessConnection
This API was introduced in Visual Studio 16 Release to Manufacturing (RTM) version (DkmApiVersion.VS16RTM).
public:
static bool IsInWorkerProcess();
public static bool IsInWorkerProcess ();
static member IsInWorkerProcess : unit -> bool
Public Shared Function IsInWorkerProcess () As Boolean
Returns
'true' if called from a worker process